There is a code

$("#mobile").mouseenter(function() { $(this).animate({backgroundColor: 'rgba(205,205,255,0.1)'}, 160); }).mouseleave(function() { $(this).animate({backgroundColor: 'rgba(205,205,255,0.02)'}, 350); }); 

Worker, but if you quickly point the mouse at a block many times, a traffic light is obtained. How to eliminate?

    1 answer 1

    documentation will find the answer

    • Those. you @timmi, you need to stop the previous one before the next animation. Your KO :) - lampa
    • You need to stop the animation and start it, as it came to ExtJS with such a stunt, but something he realized (: - Ilyas