Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.box').each(function(){
- $(this)
- .css('left', $(this).width()*-1 )
- .animate({'left':0},1000)
- ;
- });
- $('.box').css('left', $(this).width()*-1 ).animate({'left':0},1000);
- var $box = $box.css('left', $box.width()*-1 ).animate({'left':0},1000);
- $('.box').each(animateBox);
Add Comment
Please, Sign In to add comment