Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7721 closed bug (invalid)

Combination of hide, show and delay does not work

Reported by: [email protected] Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


The following very short jsfiddle entry explains everything:


What it shows is that $(..).show(0).delay(1000).hide(0) works, but show().delay(1000).hide() doesn't.

Change History (2)

comment:1 Changed 12 years ago by anonymous

Something I forgot, I'm using Google chrome 8.0.552.215.

comment:2 Changed 12 years ago by Rick Waldron

Resolution: invalid
Status: newclosed

This is intended.


Added to jQuery in version 1.4, the .delay() method allows us to delay the execution of functions that follow it in the queue. It can be used with the standard effects queue or with a custom queue. Only subsequent events in a queue are delayed; for example this will not delay the no-arguments forms of .show() or .hide() which do not use the effects queue.

Version 0, edited 12 years ago by Rick Waldron (next)
Note: See TracTickets for help on using tickets.