Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval(function() {
- var number = Math.floor(Math.random() * 9);
- $('#digit1').animate({
- top: "-45px"
- }, 300, function() {
- $(this).css('top', '0px');
- $('#digit1').text(number);
- });
- }, 1000);
Add Comment
Please, Sign In to add comment