These are the basics, there are more options below.
The format for the html to add a clock to your page is:
< img src="/cgi-bin/clock?format=format">
The bold type characters should be entered exactly as shown
Characters in italics represent a value you must choose.
There are three choices for format, they are:
Optional Parameters
Optional parameters are added to the query string by preceeding the
keyword with an ampersand (&)
optional parameters are:
Argument | Possible Values | Meaning |
---|---|---|
simple | yes or no | Use a simple style if yes. See example below. The default is no. |
bgcolour | RRGGBB or trans | When using the simple style, specifies the background color of
the image, or if trans is used, specifies a transparent background.
RRGGBB should be 3 2-digit hex values in one string, similar to the
HTML command <BODY BGCOLOR="RRGGBB">. This argument has no meaning when simple is not yes. The default is 000000 (black). |
fgcolour | RRGGBB | When using the simple=yes, specifies the foreground color of the image. Same format as bgcolour. The default is FFFFFF (white). |
<img src="/cgi-bin/clock?format=secs">
<img src="/cgi-bin/clock?format=24hr">
<img src="/cgi-bin/clock?format=24hr&simple=yes">
<img src="/cgi-bin/clock?format=normal&simple=yes&bgcolour=FF00FF&fgcolour=00FF00">
The simple style requires less disk I/O, and should execute much more quickly.
on the PCExpress | Please send comments to: WebMaster |