斑竹,红色的是什么意思了?我的脑袋快涨了.
|
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<form name="form2">
<p><input type="submit" name="banner" VALUE="Submit"> <br>
<script language="javascript">
var id,pause=0,position=0;
function banner() {
var i,k=2,msg="这里输入你要的内容";
for(i=0;i<=k;i++)
msg+=" "+msg;
document.form2.banner.value=msg.substring(position,position-30);
if(position++==msg.length)
position=0;
id=setTimeout("banner()",60);
}
banner();
</script>
</p>
</form>
</td>
</tr>
</table>