Working with a Queue in jQuery
To work with animation in jQuery, we may need such a useful thing as working with a queue. Queues allow you to perform a sequence of actions with an element asynchronously, without interrupting the program execution. You can use fx - a standard queue of effects, which is done quite often, or you can use your own - custom queues.