Try to get this running, runs in Firefox, Safari, Chrome and whatever but IE7 does not open a popup bar, in the console I just get "invalid argument"
试着让它运行,运行在Firefox,Safari,Chrome等等但是IE7没有打开弹出栏,在控制台我只是得到“无效的参数”
It is in the onclick of an image
它是在图像的onclick
<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"/>
1 个解决方案
#1
3
target is not allowed to have spaces.
目标不允许有空格。
<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"/>
#1
3
target is not allowed to have spaces.
目标不允许有空格。
<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"/>