当前位置: 代码迷 >> Web前端 >> 障蔽IE右键功能
  详细解决方案

障蔽IE右键功能

热度:102   发布时间:2012-11-06 14:07:00.0
屏蔽IE右键功能

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script language="JavaScript" event="onload" for="window">
//屏蔽IE右键功能?
???? function Click(){
???? window.event.returnValue=false;
?????? ?}
??? document.oncontextmenu=Click;
</script>
</HEAD>
<BODY>
??? 屏蔽IE右键功能
</BODY>
</HTML>

?

  相关解决方案