Analog Clock Applet
This is a Analog Clock which you can insert in your website.
The applet runs on a Java 1.1 VM.
Features
- You can set an URL to a page to be loaded when the user clicks on the watch.
- The color for the pointer handle can set
- Different settable sounds for seconds, minutes and hours
Configuration
| name |
description |
required |
example |
| PointerColor |
Color for the pointer handle in the format 'rrggbb' where r,g and b are hexadecimal values (0..9,A,B,C,D,E;F) |
no |
0000FF |
| LinkURL |
URL to a page to be loaded on mouse click |
no |
http://www.mysite.com/timetable.html |
| SecSound |
URL to a sound file |
no |
http://www.mysite.com/timetable.html |
| MinSound |
URL to a sound file |
no |
http://www.mysite.com/timetable.html |
| HourSound |
URL to a sound file |
no |
http://www.mysite.com/timetable.html |
| CopyrightURL |
this entry is mandatory and not changeable (this is not a link) |
yes |
http://www.tangarena.ch/prod/index.html |
Applet Code
Assuming you have your applet and the associated resources in a subdirectory
"applet" the html applet tag will look the following:
<applet code="TEAnalogWatch" archive="applet/teclock_a.jar"
height="100" width="100" align="middle" >
<param name="PointerColor" value="000099" />
<param name="SecSound" value="applet/click.au>" />
<param name="MinSound" value="applet/cuckoo.au" />
<param name="LinkURL" value="http://www.yoursite.ch" />
<param name="AuthorURL" value="http://www.tangarena.ch/prod/index.html" />
</applet>
You are free to replace other soundfiles for SecSound or MinSound. The AuthorURL
is not really used by the programm, but reflects an acknowlegment.
|