[jQuery] Re: Pause between each()

2008-11-21 Thread d . williams
This works perfectly! Thanks, Mike!

[jQuery] Re: Pause between each()

2008-11-19 Thread Michael Geary
Here's a little plugin that may be what you're looking for: jQuery.fn.slowEach = function( interval, callback ) { var array = this; if( ! array.length ) return; var i = 0; next(); function next() { if( callback.call( array[i], i, array[i] )

[jQuery] Re: Pause between each()

2008-11-19 Thread Jeffrey Kretz
Off the top of my head (untested, sorry) var things = $('things'); var index = 0; things.eq(0).doStuff(); var fn = function() { index++; things.eq(index).doStuff(); setTimeout(fn,1000); }; setTimeout(fn,1000); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PR