Targeting multiple frames w/rollover buttons?

liunx

Guest
I have a frameset that I want to be able to change the contents of multiple frames from a button in another frame, I have no problem with this until I try and use an image with a rollover as the button? <TD><br />
<br />
This works:<br />
<br />
<A HREF=http://www.htmlforums.com/archive/index.php/"javascript:location='GC_butns_HOME.html';<br />
parent.GC_titles.location='GC_titles_SHOCKS.html';<br />
parent.GC_butns.location='GC_butns_NEW.html';<br />
parent.GC_content.location='GC_header.html'"><br />
<IMG NAME="GC_B_HOME"SRC=http://www.htmlforums.com/archive/index.php/"GC_HOME_page_images/GC_B_HOME.jpg" WIDTH=81 HEIGHT=39 BORDER=0></A></TD><br />
<br />
This doesn't:<br />
<br />
<A HREF=http://www.htmlforums.com/archive/index.php/"javascript:location='GC_butns_HOME.html';<br />
parent.GC_titles.location='GC_titles_NEW.html';<br />
parent.GC_butns.location='GC_butns_NEW.html';<br />
parent.GC_content.location='GC_content_NEW.html'"<br />
<br />
ONMOUSEOVER="changeImages('GC_B_HOME', 'GC_HOME_page_images/GC_B_HOME-GC_B_NEW_over.jpg', 'GC_B_NEW', 'GC_HOME_page_images/GC_B_NEW-over.jpg'); return true;"<br />
ONMOUSEOUT="changeImages('GC_B_HOME', 'GC_HOME_page_images/GC_B_HOME.jpg', 'GC_B_NEW', 'GC_HOME_page_images/GC_B_NEW.jpg'); return true;"><br />
<IMG NAME="GC_B_NEW" SRC=http://www.htmlforums.com/archive/index.php/"GC_HOME_page_images/GC_B_NEW.jpg" WIDTH=81 HEIGHT=41 BORDER=0></A></TD><br />
<br />
<br />
Please someone help me!!<!--content-->have you tried putting your onMouseOver event in the image?<!--content-->not sure how to do that? I am changing 2 images in my table with each rollover.<br />
<br />
would I be putting the "ONMOUSEOVER" code at the bottom within the "img" code below?<br />
<br />
<IMG NAME="GC_B_NEW" SRC=http://www.htmlforums.com/archive/index.php/"GC_HOME_page_images/GC_B_NEW.jpg" WIDTH=81 HEIGHT=41 BORDER=0><br />
<br />
ONMOUSEOVER="changeImages('GC_B_HOME', 'GC_HOME_page_images/GC_B_HOME-GC_B_NEW_over.jpg', 'GC_B_NEW', 'GC_HOME_page_images/GC_B_NEW-over.jpg'); return true;" <br />
ONMOUSEOUT="changeImages('GC_B_HOME', 'GC_HOME_page_images/GC_B_HOME.jpg', 'GC_B_NEW', 'GC_HOME_page_images/GC_B_NEW.jpg'); return true;"><!--content-->you would want it all in one img tag. try this<br />
<br />
<IMG NAME="GC_B_NEW" SRC=http://www.htmlforums.com/archive/index.php/"GC_HOME_page_images/GC_B_NEW.jpg" WIDTH=81 HEIGHT=41 BORDER=0 ONMOUSEOVER="changeImages('GC_B_HOME', 'GC_HOME_page_images/GC_B_HOME-GC_B_NEW_over.jpg', 'GC_B_NEW', 'GC_HOME_page_images/GC_B_NEW-over.jpg'); return true;" <br />
ONMOUSEOUT="changeImages('GC_B_HOME', 'GC_HOME_page_images/GC_B_HOME.jpg', 'GC_B_NEW', 'GC_HOME_page_images/GC_B_NEW.jpg'); return true;"><!--content-->THANKS FOLKS!! got it working<!--content-->
 
Back
Top