中文(繁体)
<!-- 將以下程式碼加入<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; } </腳本>