Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/91.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 当我们点击IE11中的链接时,新弹出窗口的大小调整不是调整大小_Javascript_Html_Internet Explorer 11 - Fatal编程技术网

Javascript 当我们点击IE11中的链接时,新弹出窗口的大小调整不是调整大小

Javascript 当我们点击IE11中的链接时,新弹出窗口的大小调整不是调整大小,javascript,html,internet-explorer-11,Javascript,Html,Internet Explorer 11,在IE11中,当我们点击链接时,一个新窗口没有调整大小,在google chrome中,我可以调整新窗口的大小您可以使用of window打开一个可调整大小的弹出窗口。打开: document.querySelectorAll'a.popup\u link'.forEachfunctionel{ el.addEventListener“单击”,函数E{ window.openthis.href,'myPop1','width=630,height=420,resizeable=yes'; e、

在IE11中,当我们点击链接时,一个新窗口没有调整大小,在google chrome中,我可以调整新窗口的大小

您可以使用of window打开一个可调整大小的弹出窗口。打开:

document.querySelectorAll'a.popup\u link'.forEachfunctionel{ el.addEventListener“单击”,函数E{ window.openthis.href,'myPop1','width=630,height=420,resizeable=yes'; e、 防止违约; }; };
但它在InternetExplorer11浏览器中不工作,请看一下。这是一个具有挑战性的部分。我在IE11中测试了它,它对我很有用。尝试打开开发者控制台F12和«控制台»选项卡,查看当您尝试打开弹出窗口时是否有任何错误
onclick="return PopupDocument(this.href,'myPop1',630,420)"