开发者

Reloading an iFrame which was running an Applet

I have a web page which is divided into several iFrames.

In each frame is a different solution, like JavaS开发者_如何学运维cript in one, flash in another, applet in another.

When a user interacts with the Applet, I am trying to provide a solution where if a certain event happens in the Applet, that the Applet will die and the same iFrame gets loaded with another solution (with an href like solution). I want to be able to load another Applet, or a raw HTML solution, or whatever.

I suspect I need to wrap these solutions in something else like JavaScript, but wondering what would this solution look like.

Thanks in advance.


See Applet.getAppletContext().showDocument(url, target).

Note that it is not guaranteed to be implemented in the JRE/browser combo. the applet is loaded in, let alone work. That is where the JavaScript comes in. ;)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜