wz-4 逐条、逐个写入文字:
<script language="JavaScript">
var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];
}
tl=new textlist
("第1个 ","第2个","第3个 ","第4个 ");
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(x==0) pos++;
else pos+=2 ;
if(pos>l)
{
pos=0; setTimeout("textticker()",1000); x++;
if(x==max) x=0; l=tl[x].length;
} else
{
if(x==0) setTimeout("textticker()",50)
else setTimeout("textticker()",100);
}
}
</script>
<body onload="textticker()">
<form name="tickform">
<input type="text" size="50" name="tickfield"
style="background-color: #C0C0C0; color: #000000; border-style: groove">
</form>