Hi there, I'm designing a new site, and I'm only used to HTML and stuff, but I would like to do the following, and I was told it can be done using PHP: I have a frameless website filled with one table. In the upper cell I have a picturemap, and for these hyperlinks I'd like the target to be the lower cell. I'm using dreamweaver MX, but I heve no idea how to do this; can someone explain it to me? (or at least point me in the right direction ) Thanks a lot Rick
From what I understand from your question, it seems that you are doing something similar to those kinds of FAQ page stuff (where you will be directed to a lower part of the page when one clicks a question). If this is the case, then you do not need any PHP codes.. Please correct me if i interpret your question wrongly
This is not a PHP question. Make sure you name your frames for example "top" and "content" and then just add target="content" to the link.
To KCgame: You interpreted my question wrong indeed : I don't want to stay on the same HTML page, so usinga anchors isn't an option. What I'd like to do is to make a navigation bar in the uppercell of my table, and I'd like the content (a different .html/.php file) to be shown in the lower cell. To Bartbos: I'm sorry if I'm in the wrong section, I guess this is a PHP-related question (although webdesign). And about your suggestion: that's exactly what I'd like to do, but as said: I want a frameless side and as far as I know I can't name a (table)cell: top or content... :s Wish it were that easy.
ok.. I will give it a go again this time Since you want a frameless page, what you can do is to attach a variable to the URL. Every different links will have different variables like: //your navigation bar stuff echo'<a href="example.com?p=1">Home</a>'; echo'<a href="example.com?p=2">News</a>'; //... PHP: Now, check the variable in the lower cell like: if ($_GET['p']==1){ //grab and display home related stuff } elseif ($_GET['p']==2) //grab the latest news from other pages //... PHP: Hope it helps this time