Yoshi's jQuery typewriter effect break loop -


i'm still new jquery. found typewrite effect yoshi , love it!!! can please tell me, how make stop/freeze on last line?

here's script: http://jsbin.com/araget/459/

here's question yoshi answered: https://stackoverflow.com/a/13325547

i apologize if i've posted incorrectly, couldn't find way ask question , i'm stuck :/

try add cleartimeout if length equal text-index

var clr=null;// variable clearing timeout ..... clr = settimeout(function () { //      if(idx==settings.text.length-1){ // check if length equal text.length-1         cleartimeout(clr); // clear timeout         return false;  // break loop          }     ....     .... 

live demo


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -