<!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="">
</HEAD>
<script>
//禁用所有子frame中的右键
function noRight(doc){
//frames的集合
var fs = doc.frames;
for(var i=0;i<fs.length;i++){
var f = fs[i];
var d = f.document;
var b = d.body;
b.oncontextmenu=bodyNoRight;
noRight(d);
}
}
function bodyNoRight(){
return false;
}
</script>
<BODY oncontextmenu="return false" onload="noRight(this.document)">
aaaaaaaa
<iframe src="b.html"></iframe>
</BODY>
</HTML>