怎样在一个网页中把"标准按扭栏"和"地址栏"隐藏掉呀!

xjian 2003-11-11 09:01:26
我想在网页中把"标准按扭栏"和"地址栏"隐藏掉,可试了几次都没有成功,请个位高手指点指点!!!
...全文
70 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
jbj001 2003-11-11
  • 打赏
  • 举报
回复
干脆做全屏得了.
summersun418 2003-11-11
  • 打赏
  • 举报
回复
继续学习中!
yzwxjun 2003-11-11
  • 打赏
  • 举报
回复
如果不用window.open(..)来做,好像在ASP里不行实现。
xjian 2003-11-11
  • 打赏
  • 举报
回复
我如果不用window.open(..)来做,只在该页中进行设置该怎么办!
helpmeplzplz 2003-11-11
  • 打赏
  • 举报
回复
<script language="javascript">
function openwin(url,winName,width,height) {
xposition=0; yposition=0;
if ((parseInt(navigator.appVersion) >= 4 )) {
xposition = (screen.width - width) / 2;
yposition = (screen.height - height) / 2;
}
theproperty= "width=" + width + ","
+ "height=" + height + ","
+ "location=0,"
+ "menubar=0,"
+ "resizable=1,"
+ "scrollbars=1,"
+ "status=0,"
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + "," //仅适用于Netscape
+ "screeny=" + yposition + "," //仅适用于Netscape
+ "left=" + xposition + "," //IE
+ "top=" + yposition; //IE
//window.open( url,winName,theproperty );
newwin=window.open('','',theproperty );

url=url+"&tmp=null";//新增
newwin.location.href =url;
}
</script>
helpmeplzplz 2003-11-11
  • 打赏
  • 举报
回复
最初的窗口是不行的,你可以用一个窗口弹出你需要的窗口
xxrl 2003-11-11
  • 打赏
  • 举报
回复
楼主只能用window.open的方法,他对应于有好多的参数可以进行配置,包括toolbar,menubar,statusbar等等.
xiaobird1 2003-11-11
  • 打赏
  • 举报
回复
Window.open的所有参数:
http://expert.csdn.net/Expert/topic/2150/2150681.xml?temp=.6337854

28,407

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧