How can I preventy onMouseOut event from firing when the cursor hovers over any other html-element inside that container..?!?
onMouseOver fires directly aftwards, but still...
For reference, I've got this code:
The first div reacts as I would expect, the second fires an onMouseOut when you hover over the link, and an onMouseOver directly afterwards...
Is this a feature?!?
Am I missing something..?!?
Thanks!
onMouseOver fires directly aftwards, but still...
For reference, I've got this code:
Code:
<html>
<body>
<div id=myMenu
onMouseOut="javascript:alert('onMouseOut')"
onMouseOver="javascript: alert('onMouseOver')"
style="border: thin solid #000000">
Hallo
</div>
<p>
<div id=myMenu
onMouseOut="javascript:alert('onMouseOut')"
onMouseOver="javascript: alert('onMouseOver')"
style="border: thin solid #000000">
<a href="...">Hallo</a>
</div>
</body>
</html>
The first div reacts as I would expect, the second fires an onMouseOut when you hover over the link, and an onMouseOver directly afterwards...
Is this a feature?!?
Am I missing something..?!?
Thanks!