Bug Tracker

Ticket #1405 (closed enhancement: invalid)

Opened 1 year ago

Last modified 4 months ago

queuing for hide() and show()

Reported by: quicksilver Assigned to: anonymous
Type: enhancement Priority: major
Milestone: 1.2.4 Component: fx
Version: 1.1.3 Keywords:
Cc: Needs: Review

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.

Attachments

Change History

Changed 4 months 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.

Changed 4 months ago by flesler

  • component changed from ajax to fx
Note: See TracTickets for help on using tickets.