-- /style script language="JavaScript1.2" //configure tickercontents[] to set the messges you wish be displayed (HTML codes accepted) var tickercontents=new Array() tickercontents[0]='用数据广播方式,将信息内容完整镜像到PC机中' tickercontents[1]='数据广播作为广播电视系统的新一代业务。' tickercontents[2]='重新构思文化共享结构成为信息产业追求的目标之一。'
//configure the below 2 variables to set the width/background color of the ticker var tickerwidth='475' var tickerbgcolor='#DDDDFF'
//configure the below variable to determine the delay between ticking of messages (in miliseconds) var tickdelay=3000
////Do not edit pass this line////////////////
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1 var ns6=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1 var ns4=document.layers
以下代码加入head区域SCRIPT !-- function correct(){ if (finished){ setTimeout("begin()",3000) } return true } window.onerror=correct function begin(){ if (!document.all) return if (maxheight==null) maxheight=temp.offsetHeight whatsnew.style.height=maxheight temp.style.display="none" c=1 finished=true change() } //-- /SCRIPT以下代码加入body区域table height=45 cellspacing=1 cellpadding=1 width="80%" bgcolor=#000000 border=0 style="text-align:center" tbody tr td bgcolor=#D7E4F2 div style="text-align:center" script language=javascript1.2 !-- var head='' var top=0 var maxheight var finished=false var tickers=new Array() tickers[0]='Microsoft Visual Basic 提供了开发Microsoft Windows应用程序的最迅速,最简捷的方法 。' tickers[1]='Xml是当前最流行的开发工具,适合各种平台的开发应用' tickers[2]='Asp是最简单的网站开发程序,学习它能帮你更好的了解网络' tickers[3]='JavaScript 是网页设计者不可不学的脚本语言' tickers[4]='以上这些是一个网站建设者应该具备的条件!' for (i=1;i=tickers.length-1;i++){ if (tickers[i].length=tickers[top].length) top=i } if (document.all) document.write('span id="whatsnew" style="width:100%;height=10;filter:revealTrans (duration=2,transition=19)"'+tickers[0]+'/span') function change(){ whatsnew.innerHTML='' whatsnew.filters.revealTrans.apply() whatsnew.filters.revealTrans.play() whatsnew.innerHTML=tickers[c] if (c==tickers.length-1) c=0 else c+=1 setTimeout("change()",5000) } if (document.all) document.write('span id=ns style="display:none;"') //-- /script !--Insert alternate HTML codes here that will be seen by browsers OTHER than IE 4.x-- span id=temp style="LEFT: 0px; POSITION: absolute; TOP: 0px" /span /div /td /tr /tbody /table