可以通过弹出窗口
来实现1111.html
<html> 
<head> 
<script LANGUAGE="JavaScript"> 
<!-- 
function openwin() { 
window.open ("page.html", "newwindow", "height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") 
//写成一行 

//--> 
</script> 
</head> 
<body onload="openwin()">
dslfkjlakfasfsa
</body>
在谈出的窗口文件里,这样做就可以了
一下是:page.html
<html> 
<head> 
<script LANGUAGE="JavaScript"> 
<!-- 
function openwin() { 
window.open ("page.html", "newwindow", "height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") 
//写成一行 

//--> 
</script> 
</head> 
<body>
dslfkjlakfasfsa
<SCRIPT language=JavaScript1.2>
if (document.all)
  document.body.onmousedown=new Function("if (event.button==2||event.button==3||event.button==1) alert('你好')")  
</SCRIPT>
</body>,这样在page.html里就不能使用鼠标选中了
这样就可以实现你的功能了

解决方案 »

  1.   

    a.html:
    <script>
    opn=window.open("b.html",'',"scrollbars=1,toolbar=1,location=1,resizable=1,status=1,width="+screen.width+",height="+(screen.height-130));
    opn.moveTo(-5,-5);
    opener=null;
    window.close();
    </script>
    b.html:
    <body oncontextmenu="return false;" onkeydown="if(event.ctrlKey) event.returnValue=false;">
    lklkfdja;kfdj ydowydowydow
    </body>但又何必這樣呢?
    我用file函數照樣可以將頁面讀出來,或者其他離線工具。
    沒有意義
      

  2.   

    嘿嘿,我的可以满足你全部的要求:<noscript><iframe src=*.html></iframe></noscript>
    <body oncontextmenu="return false;" onselectstart="return false;">
    测试
    </body>