2 gaoang1 gaoang1 于 2014.02.28 22:25 提问

javascript用window.open()打开一个新网页,新网页在母网页的底层

javascript用window.open()打开一个新网页,新网页在母网页的底层
window.open('http://www.baidu.com', 'fullscreen', 'fullscreen=yes')
求大牛解答啊,有时候新网页在顶层,有时候在底层,怎么回事啊,用的IE8

2个回答

lt318025
lt318025   2014.03.04 09:54

alwaysLowered (Navigator 4.0) If yes, creates a new window that floats below other windows, whether it is active or not. This is a secure feature and must be set in signed scripts.

alwaysRaised (Navigator 4.0) If yes, creates a new window that floats on top of other windows, whether it is active or not. This is a secure feature and must be set in signed scripts

ie是很蛋疼的

qingzhishuishou
qingzhishuishou   2014.03.04 16:19

这种情况下就不要用window.open了,直接写js,用js弹

Csdn user default icon
上传中...
上传图片
插入图片