Advertisement
Guest User

Untitled

a guest
Nov 30th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. <script language="JavaScript">
  2.  
  3. <!--- Random Text String Generator for Tumblr - Taken from Trespeak.tk --->
  4. <!--- HOW TO USE: replace the "quote #" with your quotes, but leave the "" around them-->
  5. <!--- this version of the script supports 21 quotes, but you can have as many as you like as long as you replace the 21 in the (21*Math.random) with the number of quotes --->
  6.  
  7. var r_text = new Array ();
  8. r_text[0] = "quote 1";
  9. r_text[1] = "quote 2";
  10. r_text[2] = "quote 3";
  11. r_text[3] = "quote 4";
  12. r_text[4] = "quote 5";
  13. r_text[5] = "quote 6";
  14. r_text[6] = "quote 7";
  15. r_text[7] = "quote 8";
  16. r_text[8] = "quote 9";
  17. r_text[9] = "quote 10";
  18. r_text[10] = "quote 11";
  19. r_text[11] = "quote 12";
  20. r_text[12] = "quote 13";
  21. r_text[13] = "quote 14";
  22. r_text[14] = "quote 15";
  23. r_text[15] = "quote 16";
  24. r_text[16] = "quote 17";
  25. r_text[17] = "quote 18";
  26. r_text[18] = "quote 19";
  27. r_text[19] = "quote 20";
  28. r_text[20] = "quote 21";
  29. var i = Math.floor(21*Math.random())
  30.  
  31. document.write(r_text[i]);
  32.  
  33. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement