<style>#D1 { BACKGROUND-COLOR: lightblue; BORDER-BOTTOM: white 2px outset; BORDER-LEFT: white 2px outset; BORDER-RIGHT: white 2px outset; BORDER-TOP: white 2px outset; LEFT: 0px; POSITION: absolute; TOP: 70px; VISIBILITY: hidden; WIDTH: 200px; layer-background-color: lightblue } </style> <script language="javascript"> function menuIn() { if(n4) { clearTimeout(out_ID) if( menu.left > menuW*-1+20+10 ) { menu.left -=3 in_ID = setTimeout("menuIn()", 1) } else if( menu.left > menuW*-1+20 ) { menu.left-- in_ID = setTimeout("menuIn()", 1) } } else { clearTimeout(out_ID) if( menu.pixelLeft > menuW*-1+20+10 ) { menu.pixelLeft -=3 in_ID = setTimeout("menuIn()", 1) } else if( menu.pixelLeft > menuW*-1+20 ) { menu.pixelLeft-- in_ID = setTimeout("menuIn()", 1) } } } function menuOut() { if(n4) { clearTimeout(in_ID) if( menu.left < -10) { menu.left += 3 out_ID = setTimeout("menuOut()", 1) } else if( menu.left < 0) { menu.left++ out_ID = setTimeout("menuOut()", 1) } } else { clearTimeout(in_ID) if( menu.pixelLeft < -10) { menu.pixelLeft +=3 out_ID = setTimeout("menuOut()", 1) } else if( menu.pixelLeft < 0 ) { menu.pixelLeft++ out_ID = setTimeout("menuOut()", 1) } } } function fireOver() { clearTimeout(F_out) F_over = setTimeout("menuOut()", 10) } function fireOut() { clearTimeout(F_over) F_out = setTimeout("menuIn()", 10) } function init() { if(n4) { menu = document.D1 menuW = menu.document.width menu.left = menuW*-1+20 document.D1.onmouseover = menuOut document.D1.onmouseout = menuIn menu.visibility = "visible" } else if(e4) { menu = D1.style menuW = D1.offsetWidth D1.style.pixelLeft = menuW*-1+20 D1.onmouseover = fireOver D1.onmouseout = fireOut D1.style.visibility = "visible" } } F_over=F_out=in_ID=out_ID=null n4 = (document.layers)?1:0 e4 = (document.all)?1:0; </script>
</head> <body onLoad="init()">
<center> <div id="D1"> <table border="0"> <tr> <td align="middle"><b style="COLOR: green"><font size=2>菜单</font></b></td> </tr> <tr> <td> <ul> <li><a href=http://www.baguidadi.net><font size=2>阿胜在线</font></a> </li> <li><a href="http://www.baguidadi.net"><font size=2>东莞网站建设</font></a> </li> <li><a href="http://www.baguidadi.net"><font size=2>东莞设计团队</font></a> </li> </ul> </td> </tr> </table> </div> <font size=2>看到屏幕边上有一个蓝框了吗?把它拉出来!</font> </center> |