PDA

View Full Version : Change Applet width with javascript?


Syst3m Err0r
12-21-2000, 12:45 PM
Is there a way to resize the width of a Java Applet with JavaScript?

It probably won't excist but those who not try never find out.

I tried serverral things to call the applet width property like this but they won't work:

document.[appletName].width

or is it possible to use a javascript command behind the width parameter of the applet like as after the href command:

<applet... width="javascript:getWidth();" ...>

TIA,

Syst3m Err0r

p.s. Please send me an e-mail at cyclone@coolmail.net