PDA

View Full Version : multiple iframes


quovadimus02
06-03-2005, 09:18 AM
Is there a way to make the content in 2 separate iframes change from one link? I'm building a photo site and when a user clicks on one of the portfolios I want one iframe to be populated with a page of thumbnails and the main content iframe to be populated with the first picture. When a user clicks a non-portfolio button I want the iframe that hold the thumbnails to be occupied with a blank page and the main content iframe to be populated with whatever content is related to the selected link. I hope this makes sense.

_Aerospace_Eng_
06-03-2005, 10:32 AM
<a href="blah.html" target="thefirstiframename" onclick="theseconiframename.location='blah2.html'">Change Frames</a>


That will work if the link is outside of the iframes.

quovadimus02
06-03-2005, 12:30 PM
Ahhh, excellent. Thanks Aero