Skip to main content

Bug Tracker

Side navigation

#6054 closed bug (worksforme)

Opened February 08, 2010 04:11PM UTC

Closed February 10, 2010 06:10AM UTC

delay() with a queueName is not working

Reported by: HMax Owned by:
Priority: Milestone: 1.4.1
Component: effects Version: 1.4.1
Keywords: delay queuename Cc:
Blocked by: Blocking:
Description

There seems to be a problem with the delay() function when specifying the queueName as 2nd parameter.

Here is the jQuery sample code that is working :

$('#subMenu').delay(2000).slideUp('fast');

And here is the one that is NOT working (delay does not occur, animation starts right away) :

$('#subMenu').delay(2000,'myQueue').slideUp('fast');

I found out about this when trying to have a named queue, that I wanted to clear to prevent animation from running.

Attachments (0)
Change History (1)

Changed February 10, 2010 06:10AM UTC by john comment:1

resolution: → worksforme
status: newclosed

That's the correct behavior. If you specify a queue name it won't delay the animation queue (named 'fx'). If you were to do:

.delay(2000,'myQueue').queue('myQueue', function(){})

then the function would fire after 2000ms.