jquery sequence

Discussion in 'jQuery' started by Sulan84, Nov 22, 2009.

  1. #1
    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.
     
    Sulan84, Nov 22, 2009 IP
  2. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #2
    dimitar christoff, Nov 22, 2009 IP
  3. Sulan84

    Sulan84 Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Thank you.
     
    Sulan84, Nov 23, 2009 IP