[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-30 Thread Brian Cherne
ps.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 w

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-30 Thread Mitchell Waite
@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. How

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-30 Thread Terry B
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() {

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-30 Thread Mitchell Waite
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

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-30 Thread Dan G. Switzer, II
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 see

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 7:54 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > can find. The New Topic button is unfortunately not available when > reading a post (it's only visible from the list-of-posts view). i lied - it does show up as a normal link in the top/right of the page. When in the list-of-posts view

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 7:18 pm, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I have no idea how that happened, but I will be more careful. BTW I try to > snip out chunks of text but I am not perfect, and so are a lot of other > people here. Sorry, i wasn't picking on you about top-posting or non-snipping.

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Mitchell Waite
, 2007 9:55 AM To: jQuery (English) Subject: [jQuery] Re: Anyway to kill a bunch of queued up mouse events On Jul 28, 6:49 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > The top post of this thread was from Nicolas Hoizey and is about a > completely different topic: > > From: Nico

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 6:49 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > The top post of this thread was from Nicolas Hoizey and is about a > completely different topic: > > From: Nicolas Hoizey <[EMAIL PROTECTED]> > Subject: Ken Burns effects using jQuery? And then suddenly: 'Discussion subject changed to

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 5:59 pm, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I started this thread myself, how is that hijacking? The top post of this thread was from Nicolas Hoizey and is about a completely different topic: From: Nicolas Hoizey <[EMAIL PROTECTED]> Date: Thu, 26 Jul 2007 23:12:51 +0200 Loc

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Mitchell Waite
I started this thread myself, how is that hijacking? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Beal Sent: Saturday, July 28, 2007 8:17 AM To: jQuery (English) Subject: [jQuery] Re: Anyway to kill a bunch of queued up mouse events

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 1:30 am, "Mitchell Waite" <[EMAIL PROTECTED]> wrote: > I have this small script that shows and hides a button when you mouse over a Mitchell, please, for the second time, DO NOT HIJACK THREADS!!! This is at least the 3rd time i've seen you do it in the past few days! When you have a qu

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-27 Thread Mitchell Waite
Mitch One way to fix it is to reduce the mouse out fadeTo time from 500 to 100 so it happens almost immediately: $("#trigmask").hover(function() { $("#nest").fadeTo(500,1.0) $("#But1frm").show(); }, function() { $("#nest").fadeTo(100, .35)