An old question, but I wanted to add my conclusions after dealing with this problem, in case they are useful to everyone who is faced with this issue.
When using stop (). fadeIn () it just pauses the action until the next one starts.
Instead of stop (), I tried to end (). fadeIn () and finish (). fadeOut (). It worked a lot better. The current current animation ends immediately, and the current run.
In the above example, this would be:
<script type="text/javascript"> $(document).ready(function(){ $('.content .guide ul.guide li .event').mouseover(function(){ $(this).find('.info').finish().fadeTo('slow',1); }); $('.content .guide ul.guide li .event').mouseout(function(){ $(this).find('.info').finish().fadeTo('slow',0); }); }); </script>
Tiago source share