HotClock Applet

Example 1. 

Required files: 
hotclock.class 
hotclock.gif

<APPLET 
 CODE="hotclock.class"
 CODEBASE="./"
 WIDTH=86 HEIGHT=86
>
<PARAM NAME="AUTHOR"     VALUE="Virtual_Max (http://come.to/vmax)">
<PARAM NAME="KEY"     VALUE="Trial Version">
<PARAM NAME="BGCOLOR"     VALUE="ffffff">
<PARAM NAME="ARROWSCOLOR" VALUE="c0c0c0">
<PARAM NAME="CENTER"      VALUE="43,43">
<PARAM NAME="RS"          VALUE="28">
<PARAM NAME="IMAGE"       VALUE="./hotclock.gif">
<PARAM NAME="TARGET"      VALUE="_self">
<PARAM NAME="URL"         VALUE="clockclicked.html">
<PARAM NAME="STATUS"      
 VALUE="Some text to be shown in browser status bar on Mouse Over clock.">
</APPLET>
Example 2. 

Required files: 
hotclock.class 
hotclock2.gif

<APPLET 
 CODE="hotclock.class"
 CODEBASE="./"
 WIDTH=74 HEIGHT=74
>
<PARAM NAME="AUTHOR"     VALUE="Virtual_Max (http://come.to/vmax)">
<PARAM NAME="KEY"     VALUE="Trial Version">
<PARAM NAME="BGCOLOR"     VALUE="ffffff">
<PARAM NAME="ARROWSCOLOR" VALUE="c0c000">
<PARAM NAME="CENTER"      VALUE="37,38">
<PARAM NAME="RS"          VALUE="25">
<PARAM NAME="IMAGE"       VALUE="./hotclock2.gif">
<PARAM NAME="URL"         VALUE="clockclicked.html">
<PARAM NAME="STATUS"      
 VALUE="Some text to be shown in browser status bar">
<PARAM NAME="TARGET"      VALUE="_self">
</APPLET>
Example 3. 

Required files: 
hotclock.class 
hotclock3.gif

<APPLET 
 CODE="hotclock.class"
 CODEBASE="./"
 WIDTH=130 HEIGHT=193
>
<PARAM NAME="AUTHOR"      VALUE="Virtual_Max (http://come.to/vmax)">
<PARAM NAME="KEY"         VALUE="Trial Version">
<PARAM NAME="BGCOLOR"     VALUE="ffffff">
<PARAM NAME="ARROWSCOLOR" VALUE="404000">
<PARAM NAME="CENTER"      VALUE="62,91">
<PARAM NAME="CENTERS"     VALUE="62,111">
<PARAM NAME="CENTERT"     VALUE="62,70">
<PARAM NAME="RM"          VALUE="40">
<PARAM NAME="RS"          VALUE="10">
<PARAM NAME="DISPLAYPOS"  VALUE="72,98">
<PARAM NAME="AMPMPOS"     VALUE="80,86">
<PARAM NAME="LARGEFONT"   VALUE="Helvetica,0,9">
<PARAM NAME="SMALLFONT"   VALUE="Helvetica,0,6">
<PARAM NAME="IMAGE"       VALUE="./hotclock3.gif">
<PARAM NAME="URL"         VALUE="some.html">
<PARAM NAME="STATUS"      VALUE="Some text">
<PARAM NAME="TARGET"      VALUE="_self">
</APPLET>
Cut'n'paste any of above examples codes to your HTML source file.
Open your HTML source file with any text editor like Notepad and copy example there somwhere between <BODY> and </BODY> tags of your document.

Loaded from local HDD applet would work with KEY parameter value="Trial Version" keeping 100% functionality of full version, so you can completly test your design locally. Applet also will work on-line but will add blinking "Trial Copy" text.

For final on-line placement, you need to register it and obtain valid  KEY for your page, Note that KEY is applet name and URL sensitive, so follow registrations instructions exactly.

Some optional parameters are shown in Gray if you do not need to link any document to this clock, delete the parameters shown in gray color. If you want the document to be opened on click, place the URL and define TARGET which is actually the same as HTML <A.. > tag TARGET attribute. If you are not sure what you should place there, use "_self", this will open linked document in current frame.

What Else you need? Copy files listed as required to the same directory with your HTML file. For on-line placement, upload this files to the server in the same directory.

Advanced users can try to customize the applet using custom image and changing colors. There are two color parameters, those colors are in colors in hexadecimal format same as HTML colors are, but without # character. There are maximum three centers parameters x,y main center, seconds center and timer center. Last two are optional. RS for seconds hand length and RM is length for minutes hand. If RM omited, 80% of RS length will be used for it, hours hand length is always 70% of miniutes hand. DISPLAYPOS is coordinates for digital display and AMPMPOS is coordinates for AM/PM text. LARGEFONT used for time digital display and SMALLFONT for AM/PM texts. Fontsettins contains one of the platform independent fontnames "TimesRoman", "Helvetica", "Courier" or "Dialog", followed by FontStyle and FontSize. Fontstyles are 0-plain, 1-bold, 2-italics, 3-BoldItalics.