Bug Tracker

Modify

Ticket #1405 (closed enhancement: invalid)

Opened 6 years ago

Last modified 5 years ago

queuing for hide() and show()

Reported by: quicksilver Owned by:
Priority: major Milestone: 1.2.4
Component: effects Version: 1.1.3
Keywords: Cc:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone changed from 1.1.4 to 1.2.4

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.

comment:2 Changed 5 years ago by flesler

  • Component changed from ajax to fx

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.