var text="content of text here"; var delay=50; var currentChar=1; var destination="[not defined]"; function type() { if (document.getElementById) { var dest=document.getElementById(destination); if (dest) { dest.innerHTML=text.substr(0, currentChar); currentChar++ if (currentChar>text.length) { currentChar=1; setTimeout("type()", 5000); } else { setTimeout("type()", delay); } } } } function startTyping(textParam, delayParam, destinationParam) { var texts= new Array();
Warning: file() [function.file]: Unable to access syytteet.txt in /httpd/www.vanhatuomari.com/public_html/typewriter.php on line 32

Warning: file(syytteet.txt) [function.file]: failed to open stream: No such file or directory in /httpd/www.vanhatuomari.com/public_html/typewriter.php on line 32

Warning: Invalid argument supplied for foreach() in /httpd/www.vanhatuomari.com/public_html/typewriter.php on line 33
delay=delayParam; currentChar=1; destination=destinationParam; for(i=0;i