樣式代碼
<style type=
body{font:
a
a:active{ font:
:hover{ font:
</style>
html代碼如下
<table id=
<tr>
<td>彈出菜單</td>
</tr>
<tr>
<td><a cc
</tr>
<tr>
<td><a cc
</tr>
<tr>
<td><a cc
</tr>
<tr>
<td><a cc
</tr>
<tr>
<td><a cc
</tr>
<tr>
<td><a cc
</tr>
<tr>
<td><a cc
</tr>
</table>
腳本代碼
右擊鼠標顯示快捷菜單
<script language=
document
menu = emopen
if (event
newX = window
newY = window
menu
menu
menu
}
else if (event
{
menu
}
}
</script>
屏蔽IE默認的WinForm快捷菜單
<script language=
var message=
function clickIE()
{
if (document
{
(message);
return false;
}
}
function clickNS(e)
{
if (document
{
if (e
{
newX = window
newY = window
menu = emopen
if ( menu
{
menu
}
else
{
menu
}
menu
menu
}
if (e
{
(message);
return false;
}
}
}
if (document
{
document
document
}
else
{
document
}
document
</script>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19776.html