Hi is it possible that jquery starts with an animation (for example fadeIn), when the animation before ends? here my code? <script type="text/javascript"> $(document).ready(function() { $("#part1").fadeIn(1000); $("#part2").fadeIn(1000); $("#part3").fadeIn(1000); }); </script> Code (markup): part2 shoud start fading in, when part1 is alrady finished... any ideas? I found no wait function in jquery.
you have a callback function. so $("#part1").fadeIn(1000, function() { $("#part2").fadeIn(...) etc. }) Code (javascript): http://paulirish.com/2008/sequentially-chain-your-callbacks-in-jquery-two-ways/