Difference between revisions of "Team:Judd UK/berhfudf"

Line 109: Line 109:
 
     ch = 0;
 
     ch = 0;
  
   setTimeout(function typeIt() {
+
   setTimeout(function() {
 
     if (ch > tot) return;
 
     if (ch > tot) return;
 
     if(txt[ch]!="<")
 
     if(txt[ch]!="<")
Line 115: Line 115:
 
     else $typer.html(txt.substring(0, ch+=3));
 
     else $typer.html(txt.substring(0, ch+=3));
 
     setTimeout(typeIt, ~~(Math.random() * (pauseMax - pauseMin + 1) + pauseMin));
 
     setTimeout(typeIt, ~~(Math.random() * (pauseMax - pauseMin + 1) + pauseMin));
   }(),$typer.data("delay"));
+
   },$typer.data("delay"));
  
 
});
 
});

Revision as of 18:27, 30 October 2017

Contents

Designed by Aleksandur Murfitt