The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
Fx Queues
Fork me on GitHub: http://github.com/lucianopanaro/jQuery-FxQueues
Introduction
The jQuery Fx Queues plugin is a global queueing system that
allows to enqueue effects of different elements, but also keeps jQuery’s default
queueing option.
A wait argument was also added to be able to
specify the time to wait before starting the animation.
New arguments added to animate:
- queue: (string) Name of the queue. If it doesn’t exist, it creates the new queue.
- scope: (string) Name of the scope.
- position: (”front”|”end”) Queue position where animation (or scope, if passed) is queued.
- preDelay: (int) Milliseconds to wait before starting the next in queue.
- postDelay: (int) Milliseconds to wait after finishing the animation.
Working with the queues
Now you have a $.fxqueues(”queueName”) to get the queue. The object has three useful methods:
- $.fxqueues(”queueName”).pause()
- $.fxqueues(”queueName”).start()
- $.fxqueues(”queueName”).stop() (The queue is cleared.)
