Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(function($) {
- var pos = 0;
- move();
- function move() {
- ++pos;
- if (pos > 700) {
- pos = 0;
- }
- $("#clouds").css("background-position", pos + "px");
- setTimeout(move, 60);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement