Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. /* THIS IS WHAT I USED TO MAKE THE NEW ANIMATION, A LOT OF PRECISION */
  2.  
  3. $('#text').typeIt({
  4. speed: 50,
  5. autoStart: false
  6. })
  7. .tiSettings({speed: 5})
  8. .tiType('-Username: ')
  9. .tiPause(2000)
  10. .tiSettings({speed: 80})
  11. .tiType('<?=$broken;?>')
  12. .tiPause(500)
  13. .tiDelete(2)
  14. .tiType('<?=$fix;?>')
  15. .tiPause(1000)
  16. .tiBreak()
  17. .tiSettings({speed: 5})
  18. .tiType('-Password: ')
  19. .tiPause(2000)
  20. .tiSettings({speed: 80})
  21. .tiType('***')
  22. .tiPause(1000)
  23. .tiType('****')
  24. .tiSettings({speed: 200})
  25. .tiType('*****')
  26. .tiPause(2000)
  27. .tiBreak()
  28. .tiBreak()
  29. .tiSettings({speed: 10})
  30. .tiType('--- Access Granted ---')
  31. .tiBreak()
  32. .tiType('<?=$r1;?>')
  33. .tiBreak()
  34. .tiType('----------------------')
  35. .tiPause(2000)
  36. .tiBreak()
  37. .tiBreak()
  38. .tiSettings({speed: 50})
  39. .tiType('Joining: <?=$name;?>')
  40. .tiBreak()
  41. .tiType('Current Map: <?=$_SESSION['sMap'];?>')
  42. .tiBreak()
  43. .tiType('User Data: <?=$uData;?>')
  44. .tiPause(3000)
  45. .tiBreak()
  46. .tiBreak()
  47. .tiBreak()
  48. .tiSettings({speed: 10})
  49. .tiType('----------------------')
  50. .tiSettings({speed: 30})
  51. .tiBreak()
  52. .tiType('<?=$r2;?>')
  53. .tiBreak()
  54. .tiType('<?=$r3;?>')
  55. .tiBreak()
  56. .tiSettings({speed: 10})
  57. .tiType('----------------------')
  58. .tiSettings({speed: 50})
  59. .tiPause(5000)
  60. .tiBreak()
  61. .tiBreak()
  62. .tiType('<?=$r4;?>')
  63.  
  64. /* THIS WAS THE OLD ANIMATION, YOU CAN SEE THE DIFFERENCE */
  65.  
  66. $('#text').typeIt({
  67. strings: [
  68. "-Username: <?=$uName;?>",
  69. "-Password ********",
  70. " ",
  71. "--- Access Granted ---",
  72. "<?=$r1;?>",
  73. "----------------------",
  74. " ",
  75. "Joining: <?=$name;?>",
  76. "Current Map: <?=$_SESSION['sMap'];?>",
  77. "User Data: <?=$uData;?>",
  78. " ",
  79. "----------------------",
  80. "<?=$r2;?>",
  81. "<?=$r3;?>",
  82.  
  83. "----------------------",
  84. " ",
  85. "<?=$r4;?>"
  86.  
  87. ],
  88. speed: 50,
  89. autoStart: false
  90. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement