I have a div with width: 5px and height: 400px (for example). If I want to run a function when this div freezes, the event is not recognized when I move my mouse too fast (it doesn't matter, I use the mouse mouseover / mouseenter / mousemove).
Here you can see a working example: http://jsfiddle.net/2YZvk/
This is my function:
jQuery(document).ready(function(){ jQuery('.hover_test').bind('mouseenter',function(){ jQuery(this).css('background-color','#30a900'); }); });
Is it possible to somehow trigger this event, even if I move the mouse too fast? Making a wider div is not an option ...
source share