Iframes Heeeeelp!

liunx

Guest
Hello everyone.<br />
<br />
I know how to build a basic iframe. Now i'm trying to taget 4 different iframes from a menu, out of the iframe in order to open 4 different htm files in this iframe. Can't figure out how to achieve this result! <br />
I hope I was clear enough and thanks in advance.<br />
<br />
Max'Nerd<!--content-->One click an as much as you want to replace:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onClick="javascript: window.frame1.location='http://site1.com';<br />
window.frame2.location='http://site2.com'">click here</a><br />
<br />
Where frame1 is the name of your iframe<br />
<br />
:rocker:<!--content-->for you links in you menu, change them to this<br />
<br />
<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://www.link.com" target="iframe">Link1</a> |<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://www.link2.com" target="iframe">link2</a> |<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://www.link3.com" target="iframe">Link3</a> |<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://www.link4.com" target="iframe">Link3</a><br />
<br />
<br />
<br />
Just replace the link names and the links to your ones, and change the name of your Iframe to "iframe" and when the user clicks on the link only the contents of the Iframe will change <br />
<br />
Good Luck :)<!--content-->
 
Back
Top