<div class="htmlarea"> <textarea id="runcode66701"> <title>정보 텍스트가 그대로 표시됩니다</title> <form name="form1"> <textarea wrap="physical" rows="3" cols="25" name="news2"> </textarea> </form> </textarea> <br><input onclick="runEx('runcode66701')" type="button" value="运行代码"><input onclick="doCopy('runcode66701')" type="button" value="复制代码"> <input onclick="doSave(runcode66701)" type="button" value="保存代码"> <a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">[Ctrl A 모두 선택 참고: </a>외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다 </div>]<script language="JavaScript"> function makeArray() { this.length = makeArray.arguments.length for (var i = 0; i < this.length; i++) this[i+1] = makeArray.arguments[i] } var fArray = new makeArray; fArray[0]="1949年10月1日, "; fArray[1]="中华人民共和国隆重成立! " fArray[2]="从此…… " fArray[3]="中国人民站起来了,感动! " var x = 1; var y = 0; var msg1 = fArray[y]; function newsFeed() { if (x==msg1.length+1) { for (var z=0; z < 70000; z++); y+=1; if (y > 3) y=0; document.form1.news2.value=' '; msg1 = fArray[y]; x=0; } document.form1.news2.value=msg1.substring(0,x); x+=1; setTimeout("newsFeed() ",200); } </script>