在javascript中没有地址栏的情况下打开新窗口 [英] open new window with no address bar in javascript

查看:61
本文介绍了在javascript中没有地址栏的情况下打开新窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
如何使用没有地址栏的javascript打开新窗口
或至少隐藏来自地址栏的请求.

hi
how could I open new window with javascript with no address bar
or a least hide requests from addressbar .

推荐答案



Hi,

Because of security standard; this may not be possible now. Look at below urls for more details

http://stackoverflow.com/questions/4243377/hiding-address-bar-in-popup-window
http://stackoverflow.com/questions/1673003/popup-window-how-to-hide-url-bar-in-ie8

Thanks

~~Karthik.J~~


语法为window.open(URL,windowName [,windowFeatures]),其中可选的第三个参数是窗口特征的列表,其中包括对地址栏的控制.

此处 [
The syntax is window.open (URL, windowName[, windowFeatures]) where the optional third parameter is a list of window features, which includes control over the address bar.

Here[^] is some documentation.


try
try
window.open(''MyPage.aspx'',''_blank'')


也检查一下.
http://stackoverflow.com/questions/2909645/open-new-popup-window-without-address-bars-in-firefox-ie [


check it also..
http://stackoverflow.com/questions/2909645/open-new-popup-window-without-address-bars-in-firefox-ie[^]


这篇关于在javascript中没有地址栏的情况下打开新窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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