<html>
<!--
| redirect url
-->
<body><script language="JavaScript">
var sFeatures = "fullscreen=0,toolbar=0,location=0,locationbar=0,directories=0,status=1,statusbar=1,menubar=0";
sFeatures += ",scrollbars=0,resizable=0,top=0,left=0,width=800,height=600";
var sName = new Date().getTime();
window.open("logon.html",sName,sFeatures,false);
window.opener = null;
window.close; 
</script>
</body>
</html>

解决方案 »

  1.   

    请问楼上的朋友:我有一个aaa.aspx页面,一打开的时候就自动屏蔽IE工具栏和菜单,那怎么写?你的代码是打开了aaa.aspx页面,同时又弹出logon.html页面,logon.html页面才是把IE菜单和工具条屏蔽,而aaa.aspx页面还是一样没有屏蔽IE工具栏。
      

  2.   

    <script>
      if (!window.opener || window.opener!='yyyyyyyyyyyy'&&window.name!='newWin'){
         window.opener = 'yyyyyyyyyyyy';
         window.close();  
     var feature = "resizable=1,top=0,left=0";
     var win = window.open("/tecpmos/index.jsp","newWin",feature);
     win.resizeTo(screen.width,screen.height-20);
      }
    </script>