T
Tormod Omholt-Jensen
Ï need to dynamically insert an applet into a document. In IE 6.0 my code
works fine, but there seems to be problems in Opera 7. The page looks
like there is allocated space for an applet. Printing the size of the
document.applets array return as expected 0 before the insertion, and 1
after, in both Opera 7 and IE. However, the applet does not init properly
(no painting).
Anyone?
Regards Tormod Omholt-Jensen
------------------- C O D E -----------------
<script language="JavaScript1.2">
var applet = document.createElement("applet");
applet.code = "MyApplet.class";
applet.height = "50";
applet.width = "50";
applet.defer = true;
document.body.appendChild(applet);
</script>
works fine, but there seems to be problems in Opera 7. The page looks
like there is allocated space for an applet. Printing the size of the
document.applets array return as expected 0 before the insertion, and 1
after, in both Opera 7 and IE. However, the applet does not init properly
(no painting).
Anyone?
Regards Tormod Omholt-Jensen
------------------- C O D E -----------------
<script language="JavaScript1.2">
var applet = document.createElement("applet");
applet.code = "MyApplet.class";
applet.height = "50";
applet.width = "50";
applet.defer = true;
document.body.appendChild(applet);
</script>