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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links

Status
Not open for further replies.

FoxStudent

Technical User
Feb 24, 2000
85
GB
Is there anyway that I could by clicking on a button in the left frame open two different pages one in the top frame and one in the main frame.

Thanku

Grainne
 
Hello FoxStudent!

Yes, there is a way. There are ways actually. Just one of them:
<a href=&quot;file_name_for_MAIN_frame&quot; onClick=&quot;parent.frameName.location='file_name_for_TOP_frame'&quot;>

In this example first link is open in usual way <a href=&quot;&quot;> and second (and may be any other number) link is open using JavaScript onClick=&quot;&quot;.

You just need to put exact file and frame names in places colored green.

Hope it helps.

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top