<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <SCRIPT language=javascript> var c=0 function hs( ){ str=zb_1 var a=str.substr(0,c+1) if(c<str.length){ getobj("div").innerHTML=a} else{c=-1} c++ if(c==str.length){xx=1500} else{xx=80} window.setTimeout("hs()",xx) } var zzz=new Array(10) zzz[0]=new String("fdsaf11111111dsafdsafsdfsd") zzz[1]=new String("fdsafd22222222safdsafsdfsd") zzz[2]=new String("君生我未生,我生君已老 君恨我生迟,我恨君生早<br>君生我未生,我生君已老 恨不生同时,日日与君好<br>我生君未生,君生我已老 我离君天涯,君隔我海角<br>我生君未生,君生我已老 化蝶去寻花,夜夜栖芳草") zzz[3]=new String("fdsafd444444safdsafsdfsd") zzz[4]=new String("fdsafdsafd5555555555safsdfsd") zzz[5]=new String("fdsafds66666666afdsafsdfsd") function zdf_cl(i){ zb_1=zzz[i] hs() } function getobj(id){ return (document.getElementById(id)) } window.onload=function zdf_cl_BB(){zdf_cl(2)} </SCRIPT> <META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD> <BODY> <DIV id=div style="FONT: 12px tahoma bold; COLOR: red"></DIV></BODY></HTML>
运行代码复制代码另存代码收藏本页 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]