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

Help ! updating 2 frames with one link?

Status
Not open for further replies.

jward

MIS
Dec 21, 2000
57
US
I have 3 frames

Header
Menu
Info

in the header frame i have the main menu

Home|About|Contact........

when I click home I want it to update both the menu frame
and the info frame?
 
Hi,

try the following:

Code:
<A HREF=&quot;javascript:reloadFrames('someUrl.html','someOtherUrl.html')&quot;>Reload</A>

function reloadFrames(url1,url2) {
  top.frames.Menu.location.href=url1;
  top.frames.Info.location.href=url2;
}

This should do it, maybe you should check out my faq about frames if you wish to know a bit more. :p

Gtz,

Kristof
 
Works Great thanks!

Any good FAQ's on ASP and ACCESS relational databases
I'm starting to write my site and I have no problems
with flat databases I can't seem to figure out access
multiple table and set relationships?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top