Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I load two frames from one link. 1

Status
Not open for further replies.

Goat23

Technical User
Jul 22, 2001
61
0
0
US
I'm building a website that has three frames. A top frame, a left frame and a right frame. How do I have a link in the left frame and change both the left and right frame at once.
Here's my code, Ignore the nothing.html, it goes nowhere.

<FRAMESET ROWS="15%,85%"FRAMEBORDER="0" FRAMESPACING="0" BORDER="0">

<FRAMESET COLS="100%,0%">
<FRAME SRC="/plantworld/title.html">
<FRAME SRC="/plantid/nothing.html">
</FRAMESET>

<FRAMESET COLS="20%,80%">
<FRAME NAME="nav" SRC=/plantworld/nav.html>
<FRAME NAME="main" SRC=/plantworld/current.html>
</FRAMESET>

</FRAMESET>

 
Code:
<a href="page_for_main.html" target="main" onclick="window.open('page_for_nav.html', 'nav');">Open two pages</a>

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 
Thanks for the script, it worked excellently!

 
You're welcome.

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top