如何让IE6.0右上角的“关闭”按钮失效? 实例1即可实现。 ----------------------------------- <script language=javascript> window.onbeforeunload = function() { if(event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey) { window.event.returnValue = ""; } } </script>
2---------------------- 没有关闭按扭 window.open("","","fullscreen=3")
3---------------------- 屏蔽alt+f4 if (window.event.altKey && k == 115){ return false; } 将1.复制到WEB页面中任何位置即可。 
|