DigyClock applet

Main page

Other applets

Send a message

Instructions

Your browser does not support Java or Java is not enable. You can't see my applet

Download file digy.zip (9.5 Kbyte) and unpack it. Put file DigyClockApp.class in your HTML directory. Put text into your page:

<APPLET CODE="DigyClockApp.class" WIDTH=300 HEIGHT=180>
Your browser does not support Java or Java is not enable.
</APPLET>

and you will see my clock applet on your page!

You can change HEIGHT and WIDTH as you want, but not less than 50. 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 files in /~ivan_mcg/classes/. I have to use next code:

<APPLET CODE="DigyClockApp" WIDTH=200 HEIGHT=200 CODEBASE=/~ivan_mcg/classes>
Your browser does not support Java or Java is not enable.
</APPLET>

In fact, applet can be at another man's directory and even at another server (you have to define protocol and server name in CODEBASE attribute).

You can set a number of parameters using <PARAM> tag - <PARAM NAME='ParamName' VALUE='ParamValue'>. Place it after <APPLET> tag (see examples).

Parameters available:

FORE
This optional parameter lets you change color of text. ParamValue must be color in one of two formats: as hexadecimal number (#RRGGBB) or list of 3 decimal numbers, delimited by spaces, commas or semicolons (for example, '255, 128;;;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).
SHAD
This optional parameter lets you change color of digit's shade zones. ParamValue must be color in one of two formats (see about FORE parameter).
MODE
This optional parameter lets you change style of digits. This is number of 3 digits: "DLS". "D" is style of dark zones of digit (0 - fill, 1 - "empty"). "L" is style of light zones (0 - fill, 1 - "empty"). And "S" is style of digits. Now 4 values defined: '0' - straight digits (default), '1' - italic, and '2' and '3' - broken. See also examples.
COUNTMODE
If this parameter is set to "1", time over your page will turn back... This idea is by Vladimir Kaluga.
HIGH, LOW
You can get an interesting 3D effects by these 2 parameters (they are independent). HIGH defines color of up-left side of light zones. LOW defines color of down-right side of dark zones of digits.
FONT
Font size for date. If set to 0, date won't be displayed.

Examples

<APPLET CODE="DigyClockApp.class" WIDTH=300 HEIGHT=150>
<PARAM NAME=MODE VALUE=1>
Your browser does not support Java or Java is not enable.
</APPLET>

Your browser does not support Java or Java is not enable.

<APPLET CODE="DigyClockApp.class" WIDTH=300 HEIGHT=150>
<PARAM NAME=MODE VALUE=102> <PARAM NAME=FORE VALUE='255,255;255'> <PARAM NAME=SHAD VALUE=#FFFFFF>
Your browser does not support Java or Java is not enable.
</APPLET>

Your browser does not support Java or Java is not enable.

<APPLET CODE="DigyClockApp.class" WIDTH=300 HEIGHT=150>
<PARAM NAME=FORE VALUE=#FF0000>
<PARAM NAME=BACK VALUE='240,240;240'>
<PARAM NAME=SHAD VALUE=#000000>
<PARAM NAME=HIGH VALUE=#000000>
&ly;PARAM NAME=MODE VALUE=100>
Your browser does not support Java or Java is not enable.
</APPLET>

Your browser does not support Java or Java is not enable.

<APPLET CODE="DigyClockApp" WIDTH=300 HEIGHT=150>
<PARAM NAME=MODE VALUE=101> <PARAM NAME=COUNTMODE VALUE=1> <PARAM NAME=BACK VALUE=#000080> <PARAM NAME=FORE VALUE=#808080> <PARAM NAME=HIGH VALUE=#FFFFFF> <PARAM NAME=LOW VALUE=#000000> Your browser does not support Java or Java is not enable.
</APPLET>

Your browser does not support Java or Java is not enable.

Read more about <Applet> tag.

Get source text

There was visitors since 18th of May, 1998.


This is my hand

Ivan "MCG" Boldyrev,

bii714@cclib.nsu.ru
ICQ:22535409


© Ivan 'MCG' Boldyrev, 1999.


Nedstat Counter an't see my applet.


Read more about <Applet> tag.

Get source text

There was visitors form 18th of May, 1998.


Ivan "MCG" Boldyrev,

bii714@cclib.nsu.ru
ICQ:22535409


© Ivan 'MCG' Bodyrev, 1999.


Nedstat Counter