[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

2008-12-21 Thread crowebster
Thanks you very much ! Hope to read more from you. Bye ! Crowebster

[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

2008-12-21 Thread Dave Methvin
> Now could you explain it to me how does the code works ? Yeah, it is kind of crazy... :-) > var $sequence = $('div[id$=_div]').hide() Grabs all the divs and hides them, then assigns the jQuery object with all the divs to the $sequence variable. > , div = 0; Just sets the div variable to 0

[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

2008-12-21 Thread crowebster
Thanks ! Works perfectly ! Now could you explain it to me how does the code works ? So I could learn (comprehend) ? Thanks again !

[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

2008-12-21 Thread Dave Methvin
>         $('d...@id$=_div]').hide(); >         $('d...@id$=_div]').each(function() { >                 $(this).fadeIn('slow'); > now this code fade in all divs at the same time > how to fade in them one after another sequentially ? The best I can do is this: $(function() { var $sequence =