vlane95678
12-15-2005, 12:06 AM
Hello, I am using a js script with a mouseover w/ drop down menu from this web site.
Everything works find but the mouseout argument. When you mouseout, the image stays the same and it should change. Here's the JS code:
<a onmouseover="image1.src='http://www.qdobanv.com/LanitechArtwork/button_home_on.gif', dropdownmenu(this, event, 'anylinkmenu1');" onmouseout="image1.src='http://www.qdobanv.com/LanitechArtwork/button_home_off.gif';" target="_self" href="index.htm">
<img name="image1" src="LanitechArtwork/button_home_off.gif" border="0" width="91" height="39"></a>
And here's the drop down menu code (which I don't think matters anyhow):
<!--1st anchor link and menu -->
<div id="anylinkmenu1" class="anylinkcss">
<a href="http://www.dynamicdrive.com/">Dynamic Drive</a>
<a href="http://www.cssdrive.com">CSS Drive</a>
<a href="http://www.javascriptkit.com">JavaScript Kit</a>
<a href="http://www.codingforums.com">Coding Forums</a>
<a href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a>
</div>
Here's a link to the page to see it not work: http://www.qdobanv.com/new_page_2.htm
CAN ANYONE SEE WHAT THE HECK I'M DOING WRONG?
Everything works find but the mouseout argument. When you mouseout, the image stays the same and it should change. Here's the JS code:
<a onmouseover="image1.src='http://www.qdobanv.com/LanitechArtwork/button_home_on.gif', dropdownmenu(this, event, 'anylinkmenu1');" onmouseout="image1.src='http://www.qdobanv.com/LanitechArtwork/button_home_off.gif';" target="_self" href="index.htm">
<img name="image1" src="LanitechArtwork/button_home_off.gif" border="0" width="91" height="39"></a>
And here's the drop down menu code (which I don't think matters anyhow):
<!--1st anchor link and menu -->
<div id="anylinkmenu1" class="anylinkcss">
<a href="http://www.dynamicdrive.com/">Dynamic Drive</a>
<a href="http://www.cssdrive.com">CSS Drive</a>
<a href="http://www.javascriptkit.com">JavaScript Kit</a>
<a href="http://www.codingforums.com">Coding Forums</a>
<a href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a>
</div>
Here's a link to the page to see it not work: http://www.qdobanv.com/new_page_2.htm
CAN ANYONE SEE WHAT THE HECK I'M DOING WRONG?