Using IE8, i have a mouseover event on a div that contains several images.
When moving over the div the event triggers fine, but the problem is that when the user enters and exists an image, the div mouseover triggers again.
Apperenlty IE8 sees hovering images as leaving the div.
Does anyone know a nice method so the event triggers only once when entering the div and doesn’t fire anymore while the user is wihtin the div’s borders?
Use
mouseenterandmouseleaveinstead ofmouseoverandmouseout