onMouseOut event handler activated on child elements
Javascript can sometimes go against logic, my logic, at least. When I was using the Javascript onMouseOut event handler on a DIV tag for a friend’s site, I was surprised to see that the onMouseOut event was activated when the mouse moved over a child element.
Now, I would think that the child element is still in the parent element with the onMouseOut event handler. By that logic, the event handler should not be activated. However, this is default behavior for browsers.
Luckily, there is a quick fix at this CodeHead forums.
Posted in Uncategorized | View Comments