在ASP.NET中实现隐藏IE浏览器的菜单栏

Response.Write("<script language='JavaScript'>");

 

//Frameset1.htm是所要设计的窗口

   Response.Write("window.open('Frameset1.htm','','toolbar=no,menubar=no,status=yes,resizable=yes,tilebar=yes,scrollbars=yes');");

 

 

   //设置全屏

   Response.Write("window.moveTo(0,0);");

   Response.Write("window.resizeTo(screen.availWidth,screen.availHeight);");

 

 

   //关闭本窗口

   Response.Write("window.opener=null;");

   Response.Write("window.self.close();");

   Response.Write("</script>");

 

你可能感兴趣的:(asp.net)