...

View Full Version : Making a Link go to 2 different links



jena2k
12-29-2003, 08:28 AM
I'm using 2 i-frames on an html page. The one i-frame is named "navigation" and the other is "main". I want the roll-over buttons in the "navigation" i-frame to link to a page that appears in the "main" frame and I also want it to link to the window its in, which is "navigation".

Heres the code:

<a href="audio.html" target="main" onMouseOver="MM_swapImage('audio','','images/navover_15.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navigation_15.gif" alt="Audio" name="audio" width="54" height="22" border="0"></a>

Right now I only have it linking to the "Main" page. How would I add in the 2nd link to a page called "navigation.html" in the "navigation" frame?

COBOLdinosaur
12-29-2003, 11:00 PM
<a href="audio.html" target="main" onClick="location.href='navigation.html'" onMouseOver="MM_swapImage('audio','','images/navover_15.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navigation_15.gif" alt="Audio" name="audio" width="54" height="22" border="0"></a>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum