一点开页面 ,页面就不显示工具栏,菜单栏,地址栏

shifou 2005-01-09 08:50:03
比如进入login.aspx
就不显示工具栏,菜单栏,地址栏,
login.aspx怎么设置??
...全文
286 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
coldpanth 2005-01-10
  • 打赏
  • 举报
回复
3721没那么招恨吧?你自已写下试试,测试时打开3721上网助手的栏截,3721应该不是通过判断window.open来判定弹出窗口的吧?
morality 2005-01-10
  • 打赏
  • 举报
回复
string tt="newWindow = window.open('"+Request.ApplicationPath+"/index.aspx"+"'"
+",'','toolbar=no,menubar=no,titlebar=yes,directories=no,resizable=yes,status=yes,fullscreen=no,top=0;left=0,width=900,height=700');";
Response.Write("<script language=javascript>");
Response.Write(tt);
Response.Write("newWindow.moveTo(0,0);");
Response.Write("newWindow.resizeTo(screen.availWidth,screen.availHeight);");
Response.Write("window.opener=null;");
Response.Write("window.close();");
Response.Write("</script>");
conghui 2005-01-10
  • 打赏
  • 举报
回复
Page.RegisterClientScriptBlock("check", "<script>window.open('ContractToPrint.aspx?ContractID="+this.txt_ContractID.Text+"', 'newwindow', 'height=600, width=800, top=0,left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no,status=no');</script>");
这样试试
shifou 2005-01-10
  • 打赏
  • 举报
回复
是不是分太少啊,你们不愿意说啊,
如果要用正常的跳转如。server.transeform 和 response.redirect 到 login.aspx
然后在到login.aspx设置,不要工具栏和菜单,地址栏

难道没有方法办到吗????????????
shifou 2005-01-09
  • 打赏
  • 举报
回复
window.open 我想可能被3721等东东给屏了
shifou 2005-01-09
  • 打赏
  • 举报
回复
不用跳转。一打入网址,进入的页面就没有那些鬼东西?????????????
888yyf888 2005-01-09
  • 打赏
  • 举报
回复
用javascript
window.open("/LearnRecord.aspx","學習記錄","height=290,width=611,status=no,resizable=no,scrollbars=yes,top=0,left=0");
designonline 2005-01-09
  • 打赏
  • 举报
回复
使用javascript控制。
windows.open
bosensoft 2005-01-09
  • 打赏
  • 举报
回复
好像没办法
在途中 2005-01-09
  • 打赏
  • 举报
回复
up
shifou 2005-01-09
  • 打赏
  • 举报
回复
up

一般通过
我的链接一个链接,新打的IE窗口包含菜单栏地址栏、工具条和状态栏。如果想打一个没有菜单栏地址栏、工具条和状态栏的窗口,要使用Javascript的window.open()函数。格式为