B
bzi999
Hi!
I'm having a strange problem with javascript and maybe someone herecan
help me.
Look at this simple html snippet:
<div id="menu">
<img src="images/m1.gif" usemap='#map' border=0>
<MAP name="map">
<AREA HREF="link1.htm" COORDS="26,0,66,14"
onMouseOver="showit('option 1')" onMouseOut="showit('')">
<AREA HREF="link2.htm" COORDS="82,0,154,14"
onclick="alert('click')" onMouseOver="showit('option 2')"
onMouseOut="showit('')"></MAP>
</div>
(Showit() is a simple function that outputs some text) Everything
worked ok until I've added the onmouseover events. Since then the mouse
clicks stopped working - the links and the alert never open. Strangely
enough, there's no conflicts with the onmouseout. This is driving me
craaaaaaazy...
Any ideas about this problem? Maybe this is a know JS bug or something?
Thanks for any help you can dispense with this tormented soul.
I'm having a strange problem with javascript and maybe someone herecan
help me.
Look at this simple html snippet:
<div id="menu">
<img src="images/m1.gif" usemap='#map' border=0>
<MAP name="map">
<AREA HREF="link1.htm" COORDS="26,0,66,14"
onMouseOver="showit('option 1')" onMouseOut="showit('')">
<AREA HREF="link2.htm" COORDS="82,0,154,14"
onclick="alert('click')" onMouseOver="showit('option 2')"
onMouseOut="showit('')"></MAP>
</div>
(Showit() is a simple function that outputs some text) Everything
worked ok until I've added the onmouseover events. Since then the mouse
clicks stopped working - the links and the alert never open. Strangely
enough, there's no conflicts with the onmouseout. This is driving me
craaaaaaazy...
Any ideas about this problem? Maybe this is a know JS bug or something?
Thanks for any help you can dispense with this tormented soul.