提示:您可以先修改部分代码再运行
代码如下 | 复制代码 |
<p> <meta content="zh-cn" http-equiv="Content-Language" /> <meta content="text/html; charset=gb2312" http-equiv="Content-Type" /></p> <SCRIPT LANGUAGE="JavaScript"> <!-- begin var startTime =null; var timerID =null; var initial =new Date(); var pos =0; var menuItem =null; function initArray() { this.length = initArray.arguments.length for (var i = 0; i < this.length; i++) { this[i+1] = initArray.arguments[i] } } function parsemenuItem(data,num) { for(var i=0;i<data.length;i++) { if(data.substring(i,i+1)=="|") break; } if (num==0) return(data.substring(0,i)); else return(data.substring(i+1,data.length)); } function startTimer() { initial = new Date(); startTime=initial.getTime(); stopTimer(); menuItem = new initArray("Netscape|http://www.111cn.net", "Microsoft|http://www.microsoft.com", "微笑在线_网页特效|http://www.fun52.com/", "IBM|http://www.ibm.com", "Yahoo|http://www.yahoo.com", "Excite|http://www.excite.com", "Hotbot|http://www.hotbot.com", "GrapeJam|http://www.grapejam.com", "Email|mailto:laofz@21cn.com" ); showTimer(); } function stopTimer() { function showTimer() { timerID=window.setTimeout('showTimer()',4000); function goToUrl() { |
提示:您可以先修改部分代码再运行