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

Have Two Frames Updated at Once

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
Hello,

In standard HTML is it possible to have to frames changes the same time someone chooses a link?

I want both my left frame and detail frame to update when a particular link is selected.

Thanks,

Michael42
 
Sure it's possible. You'll need to modify the link to call a javascript function instead or linking to a url. Within that function you can force a different url to be loaded within the other frame, and then load a different url into the frame containing the link.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Tracy is right, I would just correct him in saying that it is not possible. With standard html it is not possible, you need employ some javascript. Of course you can always get rid of frames and then you have no problems changing two parts at the same time, even with standard html.
 
You're right, I missed the "standard html" part of the question. I've never gotten used to that kind of question. Kind of like asking if you can build a car using tinfoil and rubberbands.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top