利用javascript屏蔽右键
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<script language="javascript">
function block(oEvent){
if(window.event){
oEvent=window.event;
oEvent.returnValue=false;
}else{
oEvent.preventDefault();
}
}
document.oncontextmenu=block;
</script>
</HEAD>
<BODY>
现在看看是不是没右键功能了?
</BODY>
</HTML>