On Jan 16, 3:15 am, Ricardo Tomasi <ricardob...@gmail.com> wrote: > Can you add a single class "sticky" to all of the notes? Then do this: > > $('.sticky:hidden').each(function(i){ > var t = $(this); > setTimeout(function(){ t.fadeIn(500) }, i*100); > }); Rather than 9 calls to setTimeout, consider one call to setInterval, then cancel it when the last element is reached. -- Rob
- [jQuery] Condense this function DJCarbon43
- [jQuery] Re: Condense this function James Van Dyke
- [jQuery] Re: Condense this function DJCarbon43
- [jQuery] Re: Condense this function James Van Dyke
- [jQuery] Re: Condense this function DJCarbon43
- [jQuery] Re: Condense this function Liam Potter
- [jQuery] Re: Condense this functi... Liam Potter
- [jQuery] Re: Condense this function Ricardo Tomasi
- [jQuery] Re: Condense this functi... RobG
- [jQuery] Re: Condense this fu... Ricardo Tomasi
- [jQuery] Re: Condense this fu... RobG
- [jQuery] Re: Condense this fu... Ricardo Tomasi
- [jQuery] Re: Condense this function James Van Dyke
- [jQuery] Re: Condense this functi... DJCarbon43
- [jQuery] Condense this function DJCarbon43