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.
精彩评论