Thread: OT: html help
View Single Post
  #6  
Old May 25th, 2004, 10:47 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: OT: html help

Narf: You need to use the TARGET attribute in your A tags. To take an example from your own code, you created a frame with the name "nav". You can use this name to direct links to that frame, for instance:

code:
<A HREF="new_nav_menu.htm" TARGET="nav">click here to see the other navigation menu</A>

You can also use the special target called "_top" to replace the entire frameset, like this:

code:
<A HREF="full_page.htm" TARGET="_top">click here to see a full page document with no frames.</A>

Of course, you could include FRAMESET tags in full_page.htm if you wanted, and create a brand new frameset.

You should always use target= when you're dealing with frames, otherwise all sorts of unexpected things can happen.

Oh, and I've just looked again at your source and it seems you are only creating one frame, the one called "nav". That is probably part of the problem- less than two kind of defeats the object. (Probably best to start with just two until you get used to it.)

Ruatha, what's the trouble?

[ May 25, 2004, 09:48: Message edited by: dogscoff ]
Reply With Quote