如何禁用URL栏 [英] How to disable URL bar

查看:91
本文介绍了如何禁用URL栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在不使用URL栏的情况下如何禁用子窗口中的URL栏以及如何固定子窗口中的高度和宽度.

示例代码如下
----------------------

Hi,

How to disable URL bar in the child window and also how to fix the height and width in the child window when i am using without URL Bar.

sample code is below
----------------------

Dim strScript As String = "window.open(''AccessPrivilages.aspx?EmpId=" & EmpNumber & "'',''popupwindow'',''height=375, center:yes, width=265, status=no, resizable= no, menubar=no, toolbar=no, location=yes, scrollbars=no, status=no'');"



请纠正我并更新相同内容.

问候,
Ganesh.S



pls. correct me and update the same.

Regards,
Ganesh.S

推荐答案

^ ]



您必须提供location=0的其他参数,请在下面检查此链接
http://www.javascript-coder.com/window-popup/javascript-window- open.phtml [^ ]
Hi,
You have to provide location=0 for other parameters check this link below
http://www.javascript-coder.com/window-popup/javascript-window-open.phtml[^]


这篇关于如何禁用URL栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆