Click to See Complete Forum and Search --> : Needed: two frame links one button with Rollover included


|2age
10-22-2003, 04:31 PM
Im running three frames and would like to know how to make a button press that has a javascript rollover open two pages into different frames? You can view the code on my site or dl the attached.


Everyone is a noob @ some point|SeF| (http://www.elite-forces.com)

Jona
10-22-2003, 04:47 PM
<a href="page.html" target="main_iframe_name" onclick="top.frames['left_iframe_name'].location.href='left_page.html'; top.frames['main_iframe_name'].location.href=this.href; return false;"><img src="image.gif" onmouseover="this.src='new_image.gif';" onmouseout="this.src='image.gif';"></a>


[J]ona

|2age
10-22-2003, 10:11 PM
W00T W00T I got it.

<a href="body.htm" target="Main" onclick="top.frames['contents'].location.href='sefclan.htm'; top.frames['Main'].location.href=this.href; return false;"><img src="cutoutpill_b3.gif" onmouseover="this.src='cutoutpill_b3_over.gif';" onmouseout="this.src='cutoutpill_b3.gif';" border="0" width="94" height="29"></a></th>

Hey thanks a lot for your help your a champ. You can see the final results @

Seattle Elite Forces (http://www.elite-forces.com)

L8R
:)

Jona
10-22-2003, 10:51 PM
Glad you got it working. :)

By the way, w00t! :D

[J]ona