Guest User

Untitled

a guest
Oct 1st, 2012
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. <script type="text/javascript">
  2. function addCommas(nStr) {
  3. nStr += '';
  4. x = nStr.split('.');
  5. x1 = x[0];
  6. x2 = x.length > 1 ? '.' + x[1] : '';
  7. var rgx = /(d+)(d{3})/;
  8. while (rgx.test(x1)) {
  9. x1 = x1.replace(rgx, '$1' + ',' + '$2');
  10. }
  11. return x1 + x2;
  12. }
  13.  
  14. function getrandomInt(min,max) {
  15. return Math.round(min + Math.random()*(max-min))
  16. }
  17.  
  18. function displayStep3() {
  19. var delay = setTimeout(function() {showIt()},6000);
  20. }
  21. function showIt() {
  22. document.getElementById('step2_continue').setStyle('display', 'inline');
  23. }
  24. function increaseLikes() {
  25. var foo = new Date;
  26. var unixtime_ms = foo.getTime();
  27. var unixtime = ((Math.round((unixtime_ms / 1000) + getrandomInt(1,5)) + '').substring(7)).replace("0", "1");
  28.  
  29. Animation(document.getElementById('num_likes')).to('background', '#ECEFF5').from('background', '#ff0').go();
  30. document.getElementById('num_likes').setInnerXHTML('<span>' + addCommas(unixtime) + ' people</span>');
  31. }
  32.  
  33. </script>
  34.  
  35. <script> function bounceEase(p) { if (p <= 0.6) { return Math.pow(p * 5 / 3, 2); } else { return Math.pow((p - 0.8) * 5, 2) * 0.4 + 0.6 } } </script>
  36.  
  37. <div id="header">
  38. <center>
  39.  
  40.  
  41. <div style="float: left; width: 500px; text-align: center;">
  42.  
  43. <center>
  44. </div>
  45. <a href="#" ajaxify="/ajax/ct.php?app_id=4949752878&amp;action_type=3&amp;post_form_id=ad95fb76d34737e1921f589ba6b6005c&amp;position=16&amp;">.</a>
  46. <div style="float: right; width: 500px;">
  47. <p></p>
  48. </div>
  49. </div>
  50. <br clear="all"/>
  51. <hr/>
  52.  
  53. <div id="wrapper" style="width: 505px; margin: 0 auto; padding: 5px; border: 1px solid #efefef; float: left;">
  54.  
  55. <div id="step1" style="">
  56. <center>
  57. <img src="http://img230.imageshack.us/img230/4668/kliknilajk.png"</img><br>
  58. <center>
  59. <fb:visible-to-connection>
  60. <h1><a class="UIButton UIButton_Gray UIActionButton"><span class="UIButton_Text" onclick="Animation(document.getElementById('step1')).to('height', '0px').blind().show().ease(bounceEase).go(); Animation(document.getElementById('step2')).to('height', '300px').blind().show().ease(bounceEase).go(); setInterval(function() {increaseLikes()},5000);">Drugi Korak</span></a></h1>
  61. </fb:visible-to-connection>
  62. </center>
  63. </div>
  64. <script>displayStep3();</script>
  65. <div id="step2" style="display: none;">
  66. <hr/>
  67. <br>
  68. <br>
  69. <br>
  70. <br>
  71. <b>
  72. <br>
  73.  
  74.  
  75.  
  76. <b>Drugi korak - Share.</b>
  77.  
  78. <p><u><font style="color: #ff0000;">PRITISNI SHARE DUGME ISPOD I PODELI OVU STRANICU</font></u>
  79. <br>
  80. <p>
  81. <center>
  82. <a href="http://www.facebook.com/sharer.php?u=http://www.facebook.com/pages/Fruit-Ninja-link-download-/211110582292175" target="_blank" onclick="(new Image()).src = '/ajax/ct.php?app_id=4949752878&action_type=3&post_form_id=ffe3d381089e8337542f7ab61593a7b9&position=16&' + Math.random();return true;">
  83. <img src="http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=4949752878&v=1&size=o&cksum=bc62050f8b52b47329756fb7e6ca5d00&src=http%3A%2F%2Fimg840.imageshack.us%2Fimg840%2F401%2Ffontn.png"/>
  84. </a>
  85. </center>
  86.  
  87.  
  88. <br><br>
  89. <center><h1><div id="step2_continue" style="display: none;"> <a href="LINK GDJE DA IDE">Kopiraj link i downloadiraj ! http://isohunt.com/torrent_details/317209929/fruit+ninja?tab=summary</span></a></div></h1></center>
  90.  
  91. </center>
  92. </div>
  93.  
  94.  
  95. </div>
  96. <div id="final_step" style="display: none;">
  97. <h2>Congratulations!</h2>
  98. <p>You just completed all 3 steps.</p>
  99. <p>Customize this text which should explain to your visitor that they are super cool for going through the 3 step process.</p>
  100.  
  101. </div>
  102.  
  103. </div>
  104.  
  105.  
  106.  
  107.  
  108.  
  109. </div>
  110.  
  111.  
  112. </div>
  113. </div>
  114. </div>
  115. </div>
Advertisement
Add Comment
Please, Sign In to add comment