javascript
  • html
  • explorer
  • 2011-08-02 56 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

    相關問題