中文(简体)
<!-- 把如下代码加入<body>区域中 --> 请鼠标右键看看效果 <!-- http://www.downcodes.com --> <!-- bbs http://www .downcodes.com/bbs--> <STYLE>.skin0 { BORDER-RIGHT:黑色 1px 实心; BORDER-TOP:黑色 1px 实心;可见性:隐藏;左边框:黑色 1px 实心;宽度:150 像素;光标:默认;行高:1px;边框-底部:黑色 1px 实心;字体系列:Verdana;位置:绝对;背景颜色:黑色; TEXT-ALIGN: left } .skin1 { BORDER-RIGHT: 按钮突出显示 0px 开始; BORDER-TOP:按钮突出显示 0px 开头;字体大小:9pt;可见性:隐藏; BORDER-LEFT:按钮突出显示 0px 开始;宽度:120 像素;光标:默认; BORDER-BOTTOM:按钮突出显示 0px 开头;字体系列:Arial、Helvetica、sans-serif;位置:绝对;背景颜色:#000000;文本对齐:居中 } .menuitems { PADDING-RIGHT:10px; PADDING-LEFT: 10px } </STYLE> <SCRIPT language=JavaScript1.2> <!-- Begin var menuskin = "skin1"; // 皮肤0 或皮肤1 var display_url = 0; // 在状态栏中显示 URL?函数 showmenuie5() { var rightedge = document.body.clientWidth-event.clientX; var Bottomedge = document.body.clientHeight-event.clientY; if (rightedge < ie5menu.offsetWidth) ie5menu.style.left = document.body.scrollLeft + event.clientX - ie5menu.offsetWidth;否则 ie5menu.style.left = document.body.scrollLeft + event.clientX; if (bottomedge < ie5menu.offsetHeight) ie5menu.style.top = document.body.scrollTop + event.clientY - ie5menu.offsetHeight;否则 ie5menu.style.top = document.body.scrollTop + event.clientY; ie5menu.style.visibility = "可见";返回假; } 函数 hidemenuie5() { ie5menu.style.visibility = "隐藏"; } functionhighlightie5() { if (event.srcElement.className == "menuitems") { event.srcElement.style.backgroundColor = "highlight"; } event.srcElement.style.color = "白色"; if (display_url) window.status = event.srcElement.url; } } function lowlightie5() { if (event.srcElement.className == "menuitems") { event.srcElement.style.backgroundColor = ""; event.srcElement.style.color = "黑色";窗口状态=“”; } } function Jumptoie5() { if (event.srcElement.className == "menuitems") { if (event.srcElement.getAttribute("target") != null) window.open(event.srcElement.url, event.srcElement .getAttribute("目标"));否则 window.location = event.srcElement.url; } } // 结束 --> </SCRIPT> <DIV class=skin0 id=ie5menu onmouseover=highlightie5() style="LEFT: 280px; TOP: 28px" onclick=jumptoie5(); onmouseout=lowlightie5()> <DIV> <TABLE height="97%" cellSpacing=1 cellPadding=0 width="98%"align=center bgColor=#000000> <TBODY> <TR> <TD onmouseover="this. style.backgroundColor='#999900'; this.style.cursor='手';" onmouseout="this.style.backgroundColor='#99cc33';" bgColor=#99cc00 height=20 scroll="no" onload="window.defaultStatus='';"> <CENTER>::<BR>::欢迎:: </CENTER></TD></TR> < TR> <TD onmouseover="this.style.backgroundColor='#ff9900'; this.style.cursor='e-resize';" onmouseout="this.style.backgroundColor='#ffcc00';" bgColor=#ffcc00 height=20> <CENTER>:: <SCRIPT language=JavaScript>function bookmarkit(){window.external.addFavorite('http://www.downcodes.com','::建站学院::' )}if (document.all)document.write('<a href="#" onClick="bookmarkit()">加入收藏</a>')</SCRIPT> :: </CENTER></TD> </TR> <TR> <TD onmouseover="this.style.backgroundColor='#ff9900'; this.style.cursor='e-resize';" onmouseout="this.style.backgroundColor='#ffffff';" vAlign=center bgColor=#ffffff> <CENTER>::<A href="http://www.downcodes.com/" target=_blank>downcodes.com</A>:: </CENTER></TD> </TR> <TR> <TD onmouseover="this.style.backgroundColor='#ff9900'; this.style.cursor='e-resize';" onmouseout="this.style.backgroundColor='#ffcc00';" vAlign=center bgColor=#ffcc00> <CENTER>::<A title=web@downcodes.com href="mailto:web@downcodes.com">联系站长</A>:: </CENTER></TD ></TR> </TBODY></TABLE></DIV></DIV> <SCRIPT language=JavaScript1.2> if (document.all && window.print) { ie5menu.className = menuskin; document.oncontextmenu = showmenuie5; document.body.onclick = hidemenuie5; } </脚本>