大家,我遇到了一个问题:
ZUL 代码:
<window title="Hello World!!" id="winMain" border="none" width="100%" height="100%">
<script type="text/javascript">
<![CDATA[
function testAlert() {
window.open ("http://cn.bing.com", "Show", "menubar=0,resizable=1,location=0,width=683,height=384");}
]]>
</script>
<div align="center">
<button id="btnShow" label="Show">
<attribute name="onClick">
<![CDATA[
Clients.evalJavaScript("testAlert()");
]]>
</attribute>
</button>
</div>
</window>
ZUL 代码的功能是在某些浏览器中打开一个新窗口,并且在 CHROME、Firfox 中运行良好。但是当我在 IE8 中运行它时,会出现一些错误:
客户端错误:无法处理脚本;由于错误 80020101,无法完成操作。(错误)
这个问题有解决方案吗?非常感谢你 !!!