Forum Moderators: open

Message Too Old, No Replies

Loading 2 frames - need help

         

Blue_Tetra

6:56 pm on Apr 8, 2002 (gmt 0)

10+ Year Member



I have 2 frames, top and bottom. There are some links in the top frame, but how can I load those links to the bottom frame ? (The top frame stays, bottom frame load the links). Many thanks for any help.

estaquieto

7:30 pm on Apr 8, 2002 (gmt 0)

10+ Year Member



Name your frames as top and bottom:

<frame src="top_frame.html" name="top">
<frame src="bottom_frame.html" name="bottom">

Then, on your links in the top frame, add to the anchor tag:

target="bottom"

ex.


<a href="home.html" target="bottom">Home</a>

Cheers.

Blue_Tetra

8:39 pm on Apr 8, 2002 (gmt 0)

10+ Year Member



Thank you.

Blue_Tetra

8:50 pm on Apr 10, 2002 (gmt 0)

10+ Year Member



My next question:

My web page now has 2 frames (top and bottom). In the bottom frame, there are some links.

My question is: how can I make this links (inside the bottom frame) loading to a full page layout without any frames ?

Many thanks. :)

Purple Martin

6:43 am on Apr 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can reference the frameset file that contains the two frames with "top" - you can do this from within any of the frames. So all you need to do to load a new file in place of the frameset is to use:

top.location = "new_file.html"

Marshall

7:14 am on Apr 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



<a href="" target="_top">