Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. setTimeout(function () {
  2. $('.spinning').eq(0).animate({'background-position-y': '1300px'}, 500, 'linear', function () {
  3. $.each($('.symbol[id^="symbol0"]'), function (i, val) {
  4. $(this).css('background-position-x', reels[0][i] * -100 + 'px');
  5. });
  6.  
  7. $(this).hide();
  8. });
  9. }, 100);
  10.  
  11. setTimeout(function () {
  12. $('.spinning').eq(1).animate({'background-position-y': '2000px'}, 500, 'linear', function () {
  13. $.each($('.symbol[id^="symbol1"]'), function (i, val) {
  14. $(this).css('background-position-x', reels[1][i] * -100 + 'px');
  15. });
  16. $(this).hide();
  17. });
  18. }, 200);
  19.  
  20. setTimeout(function () {
  21. $('.spinning').eq(2).animate({'background-position-y': '1700px'}, 500, 'linear', function () {
  22. $.each($('.symbol[id^="symbol2"]'), function (i, val) {
  23. $(this).css('background-position-x', reels[2][i] * -100 + 'px');
  24. });
  25. $(this).hide();
  26. });
  27. }, 300);
  28.  
  29. setTimeout(function () {
  30. $('.spinning').eq(3).animate({'background-position-y': '1600px'}, 500, 'linear', function () {
  31. $.each($('.symbol[id^="symbol3"]'), function (i, val) {
  32. $(this).css('background-position-x', reels[3][i] * -100 + 'px');
  33. });
  34. $(this).hide();
  35. });
  36. }, 400);
  37.  
  38. setTimeout(function () {
  39. $('.spinning').eq(4).animate({'background-position-y': '1600px'}, 500, 'linear', function () {
  40. $.each($('.symbol[id^="symbol4"]'), function (i, val) {
  41. $(this).css('background-position-x', reels[4][i] * -100 + 'px');
  42. });
  43. $(this).hide();
  44. checkResults(reels);
  45. });
  46. }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement