Side navigation
#1405 closed enhancement (invalid)
Opened July 18, 2007 08:43AM UTC
Closed May 16, 2008 02:08AM UTC
Last modified May 16, 2008 03:06AM UTC
queuing for hide() and show()
Reported by: | quicksilver | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | effects | Version: | 1.1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If hide() and show() have arguments, as in hide('fast') they are "real" animations and they partake in the fx queuing system, so you can write :
$('#foo').hide('fast').show('fast').hide('fast').show('fast')
If they have no arguments, they are a special 'instant' hide and show, and they don't queue. This is a little counterintuitive, and certainly confuses some jQuery newcomers.
I really can't understand how do you expect to queue 0 length animations. They happen instantly, can't be queued.
Please reopen if you want to reply, thanks.