{禁止左右键}

      Study 2005-7-25 17:52
禁止右键:

<body oncontextmenu="return false">

禁止左键:

<script language="javascript">
function click() {
if (event.button==1) {
alert('禁止点击左键')
}
}
document.onmousedown=click
</script>

禁止左右键:

<body oncontextmenu="return false" onselectstart="return false">
 

标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}