<html>
<title>www.thaiall.com</title>
<script language="JavaScript">
<!--
var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;
function ticker() {
var i,k,msg="TEST";
k=(60/msg.length)+1;
for(i=0;i<=k;i++) msg+=" "+msg;
document.form2.ticker.value=msg.substring(position,position+100);
if(position++==300) position=0;
id=setTimeout("ticker()",2000/5);
}
//-->
</script>
<body onload="ticker()">
<form name="form2">
<input type="text" name="ticker" size="70" value="">
</form>
</body></html>
No comments:
Post a Comment