Question

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.

Was it helpful?

Solution 2

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.

OTHER TIPS

How are you sending the messages back to the frame?

Generally its

JSObject myWin = JSObject.getWindow(this);
myWin.call("JsFunction", "My Message");
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top