<html> <head> <title>禁止右键练习</title> <script language="javascript"> <!-- function hideContextmenu() { window.event.returnValue=false; } //--> </script> </head> <body oncontextmenu="hideContextmenu()"> 右键单击试试~看看能否弹出菜单! </body> </html>
<html> <head> <title>禁止右键练习</title> <script language="javascript"> <!-- function hideContextmenu() { window.event.returnValue=false; } //--> </script> </head> <body oncontextmenu="hideContextmenu()"> 右键单击试试~看看能否弹出菜单! </body> </html>