I've got a jquery function set up where it simply opens up a minicart
div when the cursor is placed over the shopping cart icon.  My problem
is when the cursor is placed on the icon and removed very quickly more
than once, and before the animation is complete, the animation gets
queued infinitely.

Here's the code, very simple:

        $('#cart_link').mouseenter(function(){
                $('#minicart').slideDown(300);
        });

        $('#cart_link').mouseleave(function(){
                $('#minicart').fadeOut(0);
                return false;
        });

How can I stop the animation queue?  Thanks!

Reply via email to