I have a mouseover effect using jquery animate. The effect increases the mouse to the mouseover * up to 2 and returns back to the mouseover. It works properly if you take the mouse in and out very quickly - there is no time to catch in effect and it is such that the Div bus keeps increasing.
What is an element until any kind of incidents reach the firing callback?
It just happened to me that I was clearly answering the wrong question I do not know There is no way to stop further events. For future generation, I will leave my original answer below, plus it may be be it which you want, if you want to fast move / shrink the element after moving mouse movements.
Without seeing your exact code, I can not say right put , but you can use it:
$ ('div '). Mouseover (function {$ (this) .stop (). ({'Width': '200px'}, 500);}, function () {$ (this) .stop (). Animate ({'width' : '100px'}, 500);});
This is actually less reliable than you actually are using, but this is the idea, anyway. Although there are almost certainly better ways of achieving this type.
Demo Over
Comments
Post a Comment