Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6054 closed bug (worksforme)

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.

Change History (1)

comment:1 Changed 13 years ago by john

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.

Note: See TracTickets for help on using tickets.