Facebook
From figaro, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 247
  1. Copy Embed > Code (Hidden + Head)
  2.  
  3.  
  4. tb8_speed = 100 to change the typing speed
  5. tb8_delay to change how long it takes for the message to switch
  6. tb8_messages to change the message on the tabs
  7.  
  8. <script type="text/javascript">
  9. function tb8_makeArray(n){
  10. this.length = n;
  11. return this.length;
  12. }
  13. tb8_messages = new tb8_makeArray(3);
  14. tb8_messages[0] = "message here";
  15. tb8_messages[1] = "message here";
  16. tb8_messages[2] = "message here";
  17. tb8_rptType = 'infinite';
  18. tb8_rptNbr = 5;
  19. tb8_speed = 100;
  20. tb8_delay = 2000;
  21. var tb8_counter=1;
  22. var tb8_currMsg=0;
  23. var tb8_tekst ="";
  24. var tb8_i=0;
  25. var tb8_TID = null;
  26. function tb8_pisi(){
  27. tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
  28. document.title = tb8_tekst;
  29. tb8_sp=tb8_speed;
  30. tb8_i++;
  31. if (tb8_i==tb8_messages[tb8_currMsg].length){
  32. tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
  33. }
  34. if (tb8_currMsg == tb8_messages.length){
  35. if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
  36. clearTimeout(tb8_TID);
  37. return;
  38. }
  39. tb8_counter++;
  40. tb8_currMsg = 0;
  41. }
  42. tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
  43. }
  44. tb8_pisi()
  45. </script>
  46.  

Replies to typing tab title rss

Title Name Language When
Re: typing tab title Eratic Agouti text 3 Years ago.