在Firefox中,Window.open在IE8中运行不正常

时间:2010-12-23 05:11:02

标签: gwt

我无法在IE中获取弹出窗口。我使用了以下代码。它在Firefox中运行良好,但在IE6中运行不正确。

Code:

com.google.gwt.user.client.Window.open(url, "Admin ",
                                   "menubar=no," + 
                                   "location=false," + 
                                   "resizable=yes," + 
                                   "scrollbars=yes," + 
                                   "status=no," + 
                                   "dependent=true");;


Any Help greatly Appreciated 

1 个答案:

答案 0 :(得分:6)

可能有点晚了,但IE(大多数版本)要求window.open(URL,“window-name”,“”)的第二个参数没有空格,即使你在它周围加上引号:)

例如,您的代码应更改为“Admin _”

相关问题