Dear Dan

Thanks so much for that plugin tip, I will try it today.
I did find that the while the built in hover function in jQuery works for
buttons, the pure css approach using the background-image position approach
works just as well and uses no JS. Plus the code is so much shorter. But
there are many other reasons for hover that the css approach wont help.

Mitch

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Monday, July 30, 2007 6:08 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Anyway to kill a bunch of queued up mouse events


Mitchell,

>Does anyone know if there is a way a way to kill any queued up mouse events
>after the user does a mouse out?

There currently isn't a native way to clear an event queue in jQuery.

However, check out the hoverIntent() plug-in. The plug-in is designed to
minimize the problem you're seeing by only firing the "hover" effect when
the mouse is rested over the element for a given period of time.

This means if you rapidly move in and out over the element, the
hoverIntent() is never fired.

I've found this plug-in works excellent.

-Dan

Reply via email to