[jQuery] Re: How show childern in sequence

2009-01-21 Thread Charlie22
btw, isnt possible use $.each ?? On 21 Led, 15:52, Charlie22 wrote: > well, thx for nice explanation! Cya later. > > On 21 Led, 15:33, > > > > Liam Potter wrote: > > The animate function is there to create a pause at the start of each > > fadeIn, otherwise all the divs will fade in at the same

[jQuery] Re: How show childern in sequence

2009-01-21 Thread Charlie22
well, thx for nice explanation! Cya later. On 21 Led, 15:33, Liam Potter wrote: > The animate function is there to create a pause at the start of each > fadeIn, otherwise all the divs will fade in at the same time. > You could use a setTimeout for the pause but when I wrote this it wasn't > an

[jQuery] Re: How show childern in sequence

2009-01-21 Thread Liam Potter
The animate function is there to create a pause at the start of each fadeIn, otherwise all the divs will fade in at the same time. You could use a setTimeout for the pause but when I wrote this it wasn't an option. If you want to use show() you would change $(this).fadeIn(3000); to $(this).s

[jQuery] Re: How show childern in sequence

2009-01-21 Thread Charlie22
Thank you very muhc, is there no way how use show() function? Always I have to make it with animate() function?? On 21 Led, 15:09, Liam Potter wrote: > you could use a for loop and use the animate function for a pause. > eg > > var current = 0; > var max_div = ($("parent_div").children().size()-

[jQuery] Re: How show childern in sequence

2009-01-21 Thread Liam Potter
you could use a for loop and use the animate function for a pause. eg var current = 0; var max_div = ($("parent_div").children().size()-1); for(current=0;current<=max_div;current++) { $("parent_div") .children("div") .eq(current) .animate({opacity: 1.0},((3000