English
<!-- http://www.downcodes.com/js --> <!-- bbs http://www.downcodes.com/bbs--> To achieve this effect, two steps are required. The first step: Add the following code to the <body> area <script language="JavaScript"> Destination='http://www.downcodes.com/'; Messages=new Array() Messages[0]="Welcome To Website Building Academy"; Messages[1]="This site collects web page production learning, web page special effects, animation production, website building guides, and network programming"; Messages[2]="You can add multiple special effects to this special effects code. Welcome to visit http://www .downcodes.com"; FntFace='宋体'; FntColour='66FF33'; FntSize='4'; Speed=2000; count=-1; move=1; if (document.all){ document.write('< div style="position:absolute;top:0;left:0;width:'+document.body.clientWidth+'">'); document.write('<center><div id="msg" style="position :relative;top:'+document.body.clientHeight/2+'"></div></center>'); document.write('</div>'); } if (document.layers) document. write('<layer name=nmsg top='+((window.innerHeight/2)-10)+'></layer>'); function Splash(){ TMR=setTimeout('Splash()',Speed) ; if (count != Messages.length-1) count=count+move; else {window.location.href=Destination;clearTimeout(TMR)} if (document.all) document.all.msg.innerHTML='<font face='+FntFace+' size='+FntSize+' color='+FntColour+'>'+Messages[count]+'</font>'; if (document.layers){ document.layers.nmsg.document.open( ); document.layers.nmsg.document.write('<center><font face='+FntFace+' size='+FntSize+' color='+FntColour+'>'+Messages[count]+'</font>< /center>'); document.layers.nmsg.document.close(); } } </script> Step 2: Add "onload="Splash()"" to the <body> tag. For example: <body onload ="Splash()">