the logic should be something like: var timeInSecs = 0.8; var mouseEventCaller;
onHoverFunctionInit () { clearTimeout(mouseEventCaller); var timeout = Math.ceil(timeInSecs*1000); mouseEventCaller = setTimeout("onHoverFunctionExec()", timeout); } onHoverFunctionExec() { alert("You have hovered for" + timeInSecs + " seconds."); } When you run over your objects with the mouse they call onHoverFunctionInit. It 1) Clears any previous timer and then 2) sets a timer to call the function you really want executed in X secs (.8th of sec in example). ~Terry On Jul 30, 9:07 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > 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