$(document).ready(function(){ $("#motion_1").slideUp("slow").queue(function() { $("#b_left_1").animate({left:'-410'},500).queue(function() { $("#b_left_2").animate({left:'-200'},500).queue(function() { $("#b_left_3").animate({left:'-200'},500).queue(function() { $("#b_left_4").animate({left:'-150'},500).queue(function() { $("#b_left_5").animate({left:'-350'},500).queue(function() { $("#b_right_1").animate({left:'1'},500).queue(function() { $("#b_right_2").animate({left:'1'},500).queue(function() { $("#b_right_3").animate({left:'310'},500).queue(function() { $("#b_right_4").animate({left:'310'},500).queue(function() { $("#b_right_5").animate({left:'1'},500).queue(function() { $("#b_right_6").animate({left:'160'},500).queue(function() { }); }); }); }); }); }); }); }); }); }); }); }); });