I came across an interesting plugin today on my travels around the web: http://blog.jcoglan.com/2007/10/30/asynchronous-function-chaining-in-javascript
It's interesting, because it's a setTimeout plugin but is coded so it can be chained along my event queue. For example, in my code before I had: $(self).animate({top: -90, opacity: 0.9}, 2000); setTimeout(function() { $(self).animate({ top: -150, opacity: 0 }, 1000); }, 5000); But using this plugin, I can now do: $(self).animate({top: -90, opacity: 0.9}, 2000).wait(5).then.animate({ top: -150, opacity: 0 }, 1000); To me, this makes a lot of sense, and also looks more jQuery-like. Kudos for the developer for making this one. -- Tane Piper Blog - http://digitalspaghetti.me.uk AJAX Pastebin - http://pastemonkey.org This email is: [ ] blogable [ x ] ask first [ ] private