Português
<!-- 完整的HTML代码如下: --> <!-- 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 timerlineTimer; varLinhaEsquerda = 50; var timerIn; var timerOut; var timerlineArray = new Array(); timerlineArray[0]=''; timerlineArray[1]='menuItemOut()'; function runTimerline() { //if (totalTimerlineFrames > currTimerlinePoint) // { // eval( timerlineArray[currTimerlinePoint]); //currTimerlinePoint++; // } //else {currTimerlinePoint = 0; clearTimeout(window.timerlineTimer); return false;} //window.timerlineTimer = setTimeout('runTimerline()',1000); window.timerlineTimer = setTimeout('menuItemOut()',500); } função 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; linha esquerda += 20; } else { clearTimeout(window.timerIn); retornar falso; } timerIn=window.setTimeout('menuItemIn()',1); } função menuItemOut() { clearTimeout(window.timerIn); if (linha esquerda! = 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; linha esquerda -= 20; } else { clearTimeout(window.timerOut); retornar falso; } timerOut=window.setTimeout("menuItemOut()",1); } self.moveTo(0,0); self.resizeTo(tela.availWidth,tela.availHeight); </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <div style="position:absolute; left:0px; top:-30px"><div align=center id=" menu01" style="posição:absoluto; esquerda:150px; largura de fundo:100px; borda z:1; nenhum #000000;padding-top:3;cursor:hand;font-size:9pt" onmouseover='stopTimerline();menuItemIn()' onmouseout='runTimerline()'><font color=white>主菜单</div > <div align=center id="item11" style="position:absolute; left:50px; top:55px; width:99px; height:19px; z-index:2; background-color: #0099CC; layer-background -cor: #0099CC; borda: 1px nenhum #000000; filtro:alfa(opacidade=0);padding-top:4;cursor:mão;tamanho da fonte:9pt" onmouseover="this.style.backgroundColor= '#006699 ';stopTimerline()" onmouseout="this.style.backgroundColor= '#0099cc';runTimerline()">菜单项一</div> <div align=center id="item12" style="position:absolute; :250px; topo:77px; largura:99px; índice z:3; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项二</div> <div align=center id="item13" style="position:absolute; esquerda:50px; topo:99px; largura:99px; altura:19px; índice z:4; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项三</div> <div align=center id="item14" style="position:absolute; esquerda:250px; topo: 121px; largura:99px; altura:19px; índice z:5; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项四</div> <div align=center id="item15" style="position:absolute; esquerda:50px; topo: 143px; largura:99px; altura:19px; índice z:6; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项五</div> <div align=center id="item16" style="position:absolute; esquerda:250px; topo: 165px; largura:99px; altura:19px; índice z:6; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项六</div> <div align=center id="item17" style="position:absolute; esquerda:50px; topo: 187px; largura:99px; altura:19px; índice z:6; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项七</div> <div align=center id="item18" style="position:absolute; esquerda:250px; topo: 209px; largura:99px; altura:19px; índice z:6; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项八</div> <div align=center id="item19" style="position:absolute; esquerda:50px; topo: 231px; largura:99px; altura:19px; índice z:6; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项九</div> <div align=center id="item20" style="position:absolute; esquerda:250px; topo: 253px; largura:99px; altura:19px; índice z:6; cor de fundo: #0099CC; cor de fundo da camada: #0099CC; borda: 1px nenhum #000000; filter:alpha(opacity=0);padding-top:3;cursor:hand;font-size:9pt" onmouseover="this.style.backgroundColor= '#006699';stopTimerline()" onmouseout="this.style. backgroundColor= '#0099cc';runTimerline()">菜单项十</div></div> </body></html>