Thnx, I dived into the code and saw how nicely jQuery handled the queue. It was easy to extend it with a limit option..... I made a plugin out of it....
* [http://jquery.com/docs/Plugins/limitQueue/] - it allows you to specify the limit of queue. This is especially useful when two opposite effects interact on one DOM element. Abdul John Resig wrote: >> I believe that jQuery has a sort of built in queue in that effects are >> chainable. So you'd simply write all of the effects in one long chain and >> each of them would happen in the order you specify in your chain. >> > > Exactly, so doing: > > $("#foo").slideDown('slow').slideUp('slow'); > > will be queued completely. > > --John > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
