开发者

Windows 2000, IE6, applet attaches to wrong frame

I have an applet which communicates with the browser via javascript. I load the applet, and some javascript, in an iframe, and in Windows 2000 with IE6, I have determined that the messages the applet propagates hit the parent frame, rather than the iframe.

Is there a better solution to fix this than include windows2k.hacks.js, with proxy methods for each method the applet calls? Someone please tell me there's a simpler solution than开发者_开发百科 this.


How are you sending the messages back to the frame?

Generally its

JSObject myWin = JSObject.getWindow(this);
myWin.call("JsFunction", "My Message");


It sounds like you might be using jActivating. This library does not work with IE6 and Win2k for some reason, so just scan the useragent and guard against this specific configuration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜