javascript
  • html
  • explorer
  • 2011-08-02 55 views 1 likes 
    1

    努力尝试得到这个运行,运行,但无论IE7不会打开一个弹出式酒吧,在控制台我只是得到“无效的参数”的window.open不在IE

    这是在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"/> 
    

    回答

    3

    目标是不允许有空格。

    <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"/> 
    
    +0

    呃,多么诡异!非常感谢。我想我几年前也有过这个f ** – Bearzi

    相关问题