English
<!-- http://www.downcodes.com/js --> <!-- bbs http://www.downcodes.com/bbs--> <HTML><HEAD><TITLE>Typewriter effect</ TITLE> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <SCRIPT> var msg="The place where you sat by the window yesterday still has a trace of warmth, and your figure outside the window Going further and further, never looking back..." var len=msg.length var seq=0 var speed=300 function type() { a.innerText=msg.substring(0,seq) if(seq==len ){seq=0} else seq++ setTimeout("type()",speed) } </SCRIPT> <META content="MSHTML 6.00.3790.186" name=GENERATOR></HEAD> <BODY onload=type()> < DIV id=a style="FONT-SIZE: 20pt; COLOR: fuchsia"></DIV>Rewrite msg into the text you want, speed specifies the printing speed, and write the onload statement in the body