Javascript library to reliably delay-load java applets

Posted by paleozogt on Stack Overflow See other posts from Stack Overflow or by paleozogt
Published on 2010-06-02T23:29:03Z Indexed on 2010/06/02 23:34 UTC
Read the original article Hit count: 377

Filed under:
|
|

I'd like to delay-load a Java Applet in the same way that SwfObject loads Flash SWFs-- you supply it a div id and it replaces the div's contents. This would allow the whole page to load before the Applet starts.

However, I'd also like to use a best-practices Javascript library like deployJava.js or applet-fu. The problem with these libraries is that they only use document.writeln-- if you use them after the DOM loads they will clobber the page.

Are there any Applet-loading JavaScript libraries that allow for delay-loading?

© Stack Overflow or respective owner

Related posts about java

Related posts about JavaScript