I'm making a website, I need some Java help. I want to know if you can have more than one "onmouseover" and "onmouseout" events set on a single image. Basically I have 4 images on the site that when you mouseover them, they "highlight" but I want it so that they highlight, and also when you mouseover them, another image on another part of the site changes.
I have this now, it isn't working. The "highlighting" onmouseover event works fine, but the other one doesn't.
<A HREF="1" onMouseOver="document.IMAGENAME11.src='overview1.gif'"
onMouseOver="document.IMAGENAME20.src='left-overview.gif'" onMouseOut="document.IMAGENAME11.src='overview.gif'"
onMouseOut="document.IMAGENAME20.src='left-trans.gif'">
<IMG SRC="overview.gif" border=0 NAME="IMAGENAME11"></a>
can anyone help me please?
I have this now, it isn't working. The "highlighting" onmouseover event works fine, but the other one doesn't.
<A HREF="1" onMouseOver="document.IMAGENAME11.src='overview1.gif'"
onMouseOver="document.IMAGENAME20.src='left-overview.gif'" onMouseOut="document.IMAGENAME11.src='overview.gif'"
onMouseOut="document.IMAGENAME20.src='left-trans.gif'">
<IMG SRC="overview.gif" border=0 NAME="IMAGENAME11"></a>
can anyone help me please?