Tech Support Forum banner
Status
Not open for further replies.
1 - 4 of 4 Posts

· TSF Enthusiast
Joined
·
6,327 Posts
Discussion Starter · #1 ·
Hello all-

My friend and I are building a website. We have a DHTML menu at the top, and would like this to sit in a fixed frame and have it's clicked items open in the frame below it. I used to know how to do this, but now I can't remember.

Thanks for your help
 

· Registered
Joined
·
4 Posts
Hi, soo what you want is a frame at the top of your page.. and everytime you click on a link.. the bottom frame is the window that changes.. if thats what you want.. the answer is simple:

When targeting links to a specific frame.. you have to make sure the target has a name.. If if doesnt.. then you have to make one..

this is a simple frameset for example:

<frameset rows="65,*,70">

<frame name="banner" src="banner.html">

<frame name="bottom" src="bottom.html">

</frameset>


the code above would be what your index page should have.. NOW.. if you want to specify the target.. in this case, the bottom frame. .. the link would appear as this.

<a href="link.html" TARGET="bottom"

* if you dont specify the target.. the link will open in the frame that the link is in..

hope that helps...
 

· TSF Enthusiast
Joined
·
6,327 Posts
Discussion Starter · #3 ·
Thanks a lot, that was exactly what I needed.
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top