Description
The .delay() method sets a timer to delay execution of subsequent items in the queue.
v1.4
This method has the form:
.delay(duration,queueName)
Parameter | Description |
---|---|
duration | (optional) Specifies the speed of the slide effect. (default = "normal"). Possible values:
|
queueName | (optional) A string containing the name of the queue (default: fx - the standard effects queue) |
Return Value
This form returns a jQuery object.
Examples
Delay the animiation of a div:
$("div.first").slideUp(300).delay(800).fadeIn(400);