You can change HEIGHT and WIDTH as you want. Also you can specify ALIGN as in
<IMG>: LEFT, RIGHT, BASELINE etc.
If you want keep HTML files and Java classes in different directories, you can use
CODEBASE attribute of <APPLET> tag. For example, I put my page into
/~ivan_mcg/appletsdoc/, and applet's class file in
/~ivan_mcg/classes/. I must use next code:
<APPLET CODE="ClockApp.class" WIDTH=200 HEIGHT=200
CODEBASE=/~ivan_mcg/classes>
You need upgrade your brouser!
</APPLET>
In fact, applet can be in another man's directory or even in another server (you must
define protocol and server name in CODEBASE attribute).
You can set a number of parameters using <PARAM> tag - <PARAM
NAME='ParamName' VALUE='ParamValue'>. Place them after
<APPLET> tag (see examples).
Parameters available:
- FACE
- This optional parameter lets you change color of ClockMan's face.
ParamValue must be color in one of two formats: as hexadecimal number
(#RRGGBB) or list of 3 decimal numbers (red, green and blue components),
delimited by number of spaces, commas and semicolons (for example,
'255,1128;;;0' is valid value).
- BACK
- This optional parameter lets you change color of background.
ParamValue must be color in one of two formats (see about FORE
parameter).
- NOSE
- This optional parameter lets you change color of ClockMan's nose.
- HCOL
- Color of hour arrow (opt.).
- MCOL
- Color of minute arrow (opt).
- SCOL
- Color of second arrow (opt).