APPLET/DOM/Mozilla 0.7

I am able to invoke a simple applet in IE5+/Win98/Java1.3 as follows:

var a=document.createElement("APPLET");
a.width=534;
a.height=50;
a.code="NervousText.class";
document.body.appendChild(a);

However, this does not work in Mozilla 0.7/Win98/Java1.3, only the following 
HTML tag works in Mozilla:
<applet code="NervousText.class" width=534 height=50></applet>

Please advise.

Thanks in advance,
domquestion@hotmail.com

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Received on Thursday, 22 February 2001 19:46:59 UTC