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

Linking to multiple frames?

Status
Not open for further replies.

annebooth

Technical User
Aug 25, 2003
15
US
How would I do this? I have a top, left, and main frame. I want to link an object in the top frame that will change something in the same frame and also change the other two frames. How can I do this? I know how to link to just one, but that's all.

Thanks for the help!

Anne
 
use javascript:
<a href=&quot;javascript:Browse()&quot;>Link</a>

<script>
function Browse()
{
location.href=&quot;FRAME WHERE LINK PAGE IS SELECETED&quot;
parent.LeftFrameName.location.href=&quot;Left frame page&quot;
parent.RightFrameName.location.href=&quot;Right frame page&quot;
//u can add for any number of frames...
}
</script>

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top