这个在 FireFox 下如何写? 在线等 <script type="text/javascript"> window.onload = function(){ window.frames["editor"].document.oncontextmenu = function(){alert("ok");};}</script> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script type="text/javascript"> <!-- document.oncontextmenu=function(e){return false;} //--> </script> ================style区代码================ <style> body { -moz-user-select:none; } </style> ================body区代码================ <body onselectstart="return false"> 网页内容 </body> ff下不支持这样用oncontextmenu事件吧。 window.frames["editor"]. 不行喃? window.frames["editor"].document.oncontextmenu 不行。你哪儿测试通过了?注意是 FireFox 哈 window.frames["editor"].document.oncontextmenu 没的搞。 原来是 document.designMode = " on " 冲突了,window.frames["editor"].document.oncontextmenu 可以哈,那怎么将二这用在一起呢? 要把editor换成document.GetElementById('editor'),如果还是不行加上contentWindowdocument.GetElementById('editor').contentWindow.document.oncontextmenu 如果 editor 加上 document.designMode = " on " 就用不起了 急!!!FusionCharts的2D图中,如何让滚动条置右? extjs 问题 很奇怪的一个问题 JavaScript动态增加整个表 请大家帮帮忙,这个网站这样的效果怎么实现? css问题:能否将<p>与</p>内的内容中的链接定义样式? 难道跟IE的补丁也有关?? 固定标题栏 两个简单问题:open()方法怎样指定打开页面的目标框架(frmae)?怎样在单击frmMain中某页面按钮时使框架frmMain的scrolling为"NO"? 有谁懂lotus notes 5.0 javascript漂浮广告问题 怎么动态生成两点连线
<!--
document.oncontextmenu=function(e){return false;}
//-->
</script>
================style区代码================
<style>
body {
-moz-user-select:none;
}
</style>
================body区代码================
<body onselectstart="return false">
网页内容
</body>
document.GetElementById('editor').contentWindow.document.oncontextmenu