Click to See Complete Forum and Search --> : A little bit of help with frames...


dmason165
04-09-2003, 08:13 AM
Good day to all,

I have a page with three frames (a frameset within a frameset). The page, however, looks as if there are only two frames. On the left of the screen, I have a frame with links (in a menu-type format) that targets the frame on the right side of the window (the content frame). Within this frame (the one on the left) is another frame at the top with a link to go back (I thought that by it being in another frame, it wouldn't effect the content frame).

What I wanted from link to go back was the ability to simply take the user back to the page from which the frameset came. Instead, the link to go back controls the frame on the right where the content is displayed (the content frame).

How do I make it so that the link to go back will control the entire frameset/window and not just the content frame?

Is it possible to do it without controlling the history of the content frame? Or will I have to make it so that each page drawn-up in the content frame doesn't get recorded in the history of the entire page/frameset(if this possible).

Thanks for your help.

~dmason165

AdamGundry
04-09-2003, 10:26 AM
I may be misunderstanding your post, but could using target="_top" provide the answer you are looking for? This will make hyperlinks refer to the entire window, not a frame.

Use:
<a href="back.html" target="_top>Back</a>

Or once, for the entire page in the head:
<base target="_top">

Hope this helps

Adam

dmason165
04-09-2003, 12:10 PM
I had tried that before I posted, and it didn't work. Do you have any other suggestions?

Let me know what you need me to explain better and I'll do my best. I would post my code but because we're dealing with frames, it could get confusing.

Thanks a bunch.

~dmason165

AdamGundry
04-09-2003, 12:26 PM
If you could put sample files online, then post a link, that would probably be easiest. That way I could see much more easily the page, and download it to test some things locally.

Adam