語法展示:: http://home.graffiti.net/frfbfbfdfd/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<DIV id=ie5menu onclick=jumptoie5() onmouseout=lowlightie5()
onmouseover=highlightie5()>
<DIV class=menuitems url="http://blog.pixnet.net/como0925" target="_blank">紫蓮の翼</DIV>
<DIV class=menuitems url="http://blog.pixnet.net/como0925">生活小常識</DIV>
<HR>
<DIV class=menuitems url="javascript:history.go(-1)">上 一 頁</DIV>
<DIV class=menuitems url="javascript:history.go(1)">下 一 頁</DIV>
<DIV class=menuitems url="como0925@yahoo.com.tw">寄信給紫蓮</DIV>
<DIV class=menuitems url="javascript:print()">列印本頁</DIV>
<DIV class=menuitems
onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://blog.pixnet.net/como0925');"
url="javascript:history.go(0)">設成首頁</DIV>
<DIV class=menuitems
onclick="window.external.addFavorite('http://blog.pixnet.net/como0925',' 紫蓮の翼 ') ;"
url="javascript:history.go(0)">加入書籤</DIV></DIV>
<SCRIPT language=JavaScript1.2>
document.oncontextmenu=showmenuie5
if (document.all&&window.print)
document.body.onclick=hidemenuie5
</SCRIPT>
將以下程式碼複製,貼在<head>及</head>標籤之間。
<STYLE type=text/css>
A:link {COLOR: #007500; TEXT-DECORATION: none}
A:visited {COLOR: #007500; TEXT-DECORATION: none}
A:hover {COLOR: #800080; TEXT-DECORATION: none}
#ie5menu { BACKGROUND-COLOR: #d6e7e7; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; CURSOR: default; FONT-FAMILY: Verdana; FONT-SIZE: 10pt; LINE-HEIGHT: 17px; POSITION: absolute; VISIBILITY: hidden; WIDTH: 120px}
..menuitems { PADDING-LEFT: 15px; PADDING-RIGHT: 15px}
</STYLE>
<SCRIPT language=JavaScript1.2>
var display_url=0
function showmenuie5(){
ie5menu.style.left=document.body.scrollLeft+event.clientX
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="#D6E7E7"
event.srcElement.style.color="black"
window.status=''
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
</SCRIPT>