Dan 

Do you have any impression of the CPU drag that comes with using
hoverIntent? I am using the css approach and its 0 MIPS.

-----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