中文(简体)
<!-- 完整的HTTML代码如下: --> <!-- web http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs--> < html> <head> <title>建站学院特效代码->>COOL菜单</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <script language="JavaScript ” var currTimerlinePoint = 0; var TotalTimerlineFrames = 2; var 定时器线定时器; var 左行 = 50; var 定时器; var 定时器输出; vartimerlineArray = new Array();计时器线数组[0]=''; timelineArray[1]='menuItemOut()'; function runTimerline() { //if (totalTimerlineFrames > currTimerlinePoint) // { // eval(timerlineArray[currTimerlinePoint]); // currTimerlinePoint ++; // } //else {currTimerlinePoint = 0;清除超时(window.timerlineTimer); return false;} //window.timerlineTimer = setTimeout('runTimerline()',1000); window.timerlineTimer = setTimeout('menuItemOut()',500); } 函数 stopTimerline() {clearTimeout(window.timerlineTimer); //currTimerlinePoint = 0; } function menuItemIn() { if( leftLine != 150) { item11.style.pixelLeft += 20; item11.filters.alpha.opacity += 20; item12.style.pixelLeft -= 20; item12.filters.alpha.opacity += 20; item13.style.pixelLeft += 20; item13.filters.alpha.opacity += 20; item14.style.pixelLeft -= 20; item14.filters.alpha.opacity += 20; item15.style.pixelLeft += 20; item15.filters.alpha.opacity += 20; item16.style.pixelLeft -= 20; item16.filters.alpha.opacity += 20; item17.style.pixelLeft += 20; item17.filters.alpha.opacity += 20; item18.style.pixelLeft -= 20; item18.filters.alpha.opacity += 20; item19.style.pixelLeft += 20; item19.filters.alpha.opacity += 20; item20.style.pixelLeft -= 20; item20.filters.alpha.opacity += 20;左线 += 20; } else {clearTimeout(window.timerIn);返回假; }timerIn=window.setTimeout('menuItemIn()',1); } 函数 menuItemOut() {clearTimeout(window.timerIn); if (leftLine != 50) { item11.style.pixelLeft -= 20; item11.filters.alpha.opacity -= 20; item12.style.pixelLeft += 20; item12.filters.alpha.opacity -= 20; item13.style.pixelLeft -= 20; item13.filters.alpha.opacity -= 20; item14.style.pixelLeft += 20; item14.filters.alpha.opacity -= 20; item15.style.pixelLeft -= 20; item15.filters.alpha.opacity -= 20; item16.style.pixelLeft += 20; item16.filters.alpha.opacity -= 20; item17.style.pixelLeft -= 20; item17.filters.alpha.opacity -= 20; item18.style.pixelLeft += 20; item18.filters.alpha.opacity -= 20; item19.style.pixelLeft -= 20; item19.filters.alpha.opacity -= 20; item20.style.pixelLeft += 20; item20.filters.alpha.opacity -= 20;左线 -= 20; } else {clearTimeout(window.timerOut);返回假; timeout=window.setTimeout("menuItemOut()",1); self.moveTo(0,0); self.resizeTo(screen.availWidth,screen.availHeight); </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <div style="position:absolute; left:0px; top:-30px"><divalign=center id="菜单01“样式=”位置:150px;宽度:100px;z-index:1;背景颜色:#000099;无 #000000;padding-top:3;cursor:hand;font-size:9pt" onmouseover='stopTimerline();menuItemIn()' onmouseout='runTimerline()'><font color=white>主菜单</div > <divalign=center id="item11" style="position:absolute; left:50px; top:55px; width:99px; height:19px; z-index:2; 背景颜色: #0099CC; 图层背景-颜色:#0099CC;边框:1px无#000000;过滤器:alpha(opacity=0);padding-top:4;光标:hand;font-size:9pt" onmouseover="this.style.backgroundColor='#006699 ';stopTimerline()" onmouseout="this.style.backgroundColor= '#0099cc';runTimerline()">菜单项一</div> <divalign=center id="item12" style="position:absolute; :250px;宽度:99px;z索引:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项二</div> <divalign=center id="item13" style="position:absolute;左:50px;顶部:99px;宽度:99px;高度:19px; z 索引:4;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项三</div> <divalign=center id="item14" style="position:absolute;左:250px;顶部:121px;宽度:99px;高度:19px; z 索引:5;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项四</div> <divalign=center id="item15" style="position:absolute;左:50px;顶部:143px;宽度:99px;高度:19px; z 索引:6;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项五</div> <divalign=center id="item16" style="position:absolute;左:250px;顶部:165px;宽度:99px;高度:19px; z 索引:6;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项六</div> <divalign=center id="item17" style="position:absolute;左:50px;顶部:187px;宽度:99px;高度:19px; z 索引:6;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项七</div> <divalign=center id="item18" style="position:absolute;左:250px;顶部:209px;宽度:99px;高度:19px; z 索引:6;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项八</div> <divalign=center id="item19" style="position:absolute;左:50px;顶部:231px;宽度:99px;高度:19px; z 索引:6;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项九</div> <divalign=center id="item20" style="position:absolute;左:250 像素;顶部:253px;宽度:99px;高度:19px; z 索引:6;背景颜色:#0099CC;图层背景颜色:#0099CC;边框:1px 无#000000;过滤器:alpha(不透明度= 0);填充顶部:3;光标:手;字体大小:9pt”onmouseover =“this.style.backgroundColor ='#006699';stopTimerline()”onmouseout =“this.style。 backgroundColor= '#0099cc';runTimerline()">菜单项十</div></div> </body></html>