有什么问题请到评论中发表<br> <!-- http://www.mb5u.com/jscode --> <!-- bbs http://www.mb5u.com/bbs--> 要完成此效果需要两个步骤 第一步:把如下代码加入到<body>区域中 <script language="JavaScript"> Destination='http://www.mb5u.com/'; Messages=new Array() Messages[0]="Welcome To 模板无忧"; Messages[1]="本站收罗了网页制作学习、网页特效、动画制作、建站指南、网络编程"; Messages[2]="该特效代码你可以添加多个特效,欢迎访问http://www.mb5u.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('<left><div id="msg" style="position:relative;top:'+document.body.clientHeight/2+'"></div></left>'); 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('<left><font face='+FntFace+' size='+FntSize+' color='+FntColour+'>'+Messages[count]+'</font></left>'); document.layers.nmsg.document.close(); } } </script> 第二步:把“onload="Splash()"”加在<body>标记里 例如:<body onload="Splash()">
> 查看更多推荐网页页面特效 网页特效
复制本页链接| 搜索文字播放后页面随即自动跳转
网站推广教程 精彩建站专题 SEO优化教程 文本文字网页特效 动易CMS教程 DISCUZ模板 体育竞技网页模板
网页页面特效-文字播放后页面随即自动跳转,其版权归原作者所有。