Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#7721 closed bug (invalid)

Combination of hide, show and delay does not work

Reported by: bripkens.dev@… Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

The following very short jsfiddle entry explains everything:

http://jsfiddle.net/KKkTd/

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 9 years ago by anonymous

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

comment:2 Changed 9 years ago by Rick Waldron

Resolution: invalid
Status: newclosed

This is intended.

http://api.jquery.com/delay/

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.

Last edited 9 years ago by Rick Waldron (previous) (diff)
Note: See TracTickets for help on using tickets.