Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function animate(){
- // код, тело цикла
- $(".animate_doc").animate({
- left: "200px",
- top: "200px"
- }, 500);
- $(".animate_doc").animate({
- left: "400px",
- top: "200px"
- }, 500);
- };
- setInterval(animate.callee, 60);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement