Javascript 窗口打开不在IE中工作

Javascript 窗口打开不在IE中工作,javascript,html,explorer,Javascript,Html,Explorer,试着让它运行,运行在Firefox、Safari、Chrome等浏览器中,但IE7没有打开弹出条,在控制台中我只得到“无效参数” 它就在一张图片的一角 <img style="cursor: hand; cursor: pointer;" onclick='window.open("http://www.test.com", "Image Gallery", "width=850,height=1000,resizable=no,menubar=no");' src="thumb.jpg"

试着让它运行,运行在Firefox、Safari、Chrome等浏览器中,但IE7没有打开弹出条,在控制台中我只得到“无效参数”

它就在一张图片的一角

<img style="cursor: hand; cursor: pointer;" onclick='window.open("http://www.test.com", "Image Gallery", "width=850,height=1000,resizable=no,menubar=no");' src="thumb.jpg" width="64" height="64"/>

目标不允许有空格

<img style="cursor: hand; cursor: pointer;" onclick='window.open("http://www.test.com", "Image_Gallery", "width=850,height=1000,resizable=no,menubar=no");' src="thumb.jpg" width="64" height="64"/>

目标不允许有空格

<img style="cursor: hand; cursor: pointer;" onclick='window.open("http://www.test.com", "Image_Gallery", "width=850,height=1000,resizable=no,menubar=no");' src="thumb.jpg" width="64" height="64"/>


嗯,多么琐碎!非常感谢。我想我几年前就有过这样的经历,太琐碎了!非常感谢。我想我几年前也有过这个