简体   繁体   English

窗口打开IE8

[英]window open IE8

what is the right use of window.open in IE8? 在IE8中window.open的正确用法是什么?

window.open('prova.php','prova','width=350,height=250');

is good in firefox but not in IE8 在Firefox中很好但是在IE8中不好

window.open works across browsers. window.open在所有浏览器中均可使用。 And your code works fine for me in IE8 too. 您的代码也可以在IE8中正常工作。 It could be some other reason like your pop-up is being blocked, check the settings just in case. 可能是由于其他原因,例如您的弹出窗口被阻止,请检查设置以防万一。

Check out: 查看:

IE8 has a native popup blocker. IE8具有本机弹出窗口阻止程序。 You have to manually enable popups. 您必须手动启用弹出窗口。 You can try NOT using window.open and instead inject html in the form of a modal in the page. 您可以尝试不使用window.open,而是在页面中以模态形式注入html。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM