Use the animations complete callbacks. $('#element1').fadeIn('slow', function() { $('#element2').fadeIn('slow', function() { ... }); });
Michel Belleville 2009/11/11 badtant <badt...@gmail.com> > Hi! > > I have the two animations below running side by side: > $("#dubbelsnurra #graph1").animate({height:"154px"},1500); > $("#dubbelsnurra #graph2").animate({height:"74px"},1500); > > When they are "done" I want to start another animation on two other > elements. See below: > $("#dubbelsnurra #graph1_result,#dubbelsnurra #graph2_result").fadeIn > (500); > > What I can't figure out is how to set them on queue? I know there is > queing available in the animate function but that seems to be when you > have different animations on the same elements. > > How to I do this? > > Thanks >