雪姬漫画姜京玉:Fx Queues | jQuery Plugins

来源:百度文库 编辑:九乡新闻网 时间:2024/07/14 07:47:06

Fx Queues


Submitted by luciano.panaro on November 19, 2007 - 1:15pm

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.)

Downloads

Version Downloads Date Links 2.0.3 Download (6.26 KB) 2009-Feb-15 Notes 2.0.2 Download (6.96 KB) 2008-Mar-17 Notes 2.0.1 Download (6.91 KB) 2008-Mar-14 Notes
  • View all releases

Resources

  • Home page
  • Read documentation
  • Try out a demonstration

Development

  • View pending patches

4.714285Your rating: None Average: 4.7 (7 votes)