2012-02-06 111 views
0

我正在使用以下定位標記打開彈出窗口。它工作正常,但在IE上不行。請建議。window.open不適用於IE

<a href="javascript:void window.open('<%=script.toString()%>&noui=1&amp;jump=doclose','deliciousuiv5','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550');"><span class="TopBarRightSection"><s:text name="text.bookmarklet"/></span></a> 
+0

請參閱http://stackoverflow.com/questions/459024/how-do-you-get-window-open-to-work-in-internet-explorer-7 – Hadas 2012-02-06 11:36:55

+1

生成的html看起來像什麼? – Niklas 2012-02-06 11:41:34

+0

應該在'void'和'window.open'之間有';'嗎?或者應該「不」在那裏? – Joseph 2012-02-06 12:07:45

回答

1

請檢查IE中是否啓用了彈出窗口阻止程序。

+0

+1人有時會忽視這些簡單的事情 – Joseph 2012-02-06 12:05:31

相關問題