SimpleClock Parameters
Click an item in the list to the left to find out more about it.
Width & Height
The width and height of the applet are set in the HTML code you add to the web page. Be sure to change the dimensions in the <object> and the <embed> tags.
SimpleClock's width can be whatever you like - as wide as the page, or very narrow. If the applet is width, you can use the Align parameter to set the alignment of the text. The applet's height must be sufficient for the size of font you're using. YOu can use the Testmode parameter to determine the best size for the applet.
Parameters
The parameters below should be added to your datafile in the form NAME=VALUE (for instance, BgColor=FF0000). Each parameter should be on a separate line. You can leave blank lines in the list to organize the parameters into groups if you want to. The parameter names are not case-sensitive, and neither are the values, so BgColor=FF0000 is the same as bgcolor=ff0000. You can add the parameters to your file in any order. Most parameters have a default value which we show in bold text below: if you don't include the parameter in your datafile, the default value will be used automatically.
Align
In a wide applet, this parameter sets the alignment of the text, with a choice of 'left', 'center', or 'right'. The default is left.
BgColor
Sets the background color of the applet. The default value is FFFFFF (white). (Note that SimpleClock can only change the background color after it has loaded. To have the same background color shown before the browser starts loading the applet, change the BgColor setting in the HTML code too.)
Font
Sets the name, size and style of font to use for the text, with each part separated by commas. The default is Sans,8,plain.
- Name: You can include any number of font names, separated by pipe symbols (|), and the applet will use the first font available on the user's system. To ensure compatibility, finish with one of these generic names: Sans, Serif or Typewriter.
- Size: The size of the font in points.
- Style: The style can be plain, bold, italic or bold-italic.
An example font parameter would be: Comic Sans MS|Verdana|Arial|Sans,9,bold.
ShowSeconds
A choice of 'yes' or 'no' according to whether you want the clock to display seconds, or just hours and minutes. The default is yes (seconds are displayed).
ShowVersion
A yes or no value. This parameter is included in all Cool Focus Flash applets, and its default is no. If set to 'yes', the version number of the applet (and other details) will be shown when the applet starts. This is included only for troubleshooting purposes, to help you determine which version of an applet you're using. It should be set to 'no' (or removed from your datafile) before you publish your page.
Testmode
A yes or no value, with a default of 'no'. This parameter helps you to determine the best width and height for the applet after setting the font. Set this parameter to 'yes', then view the applet in your browser. In place of the time, you'll see the best width and height displayed (such as 100x22), and you can copy these value into the WIDTH and HEIGHT settings in the page's HTML code. When you're done, remember to set the Testmode parameter back to 'no' or delete it from your datafile. Note: If you've specified a list of font names in the applet's font parameters, it's a good idea to check that the applet will be tall enough whichever of those fonts is used: with Testmode set to 'yes', move each font name to the beginning of the list and refresh the page to see if Testmode reports that larger dimensions are needed.
TextColor
Sets the color of the text used to display the time. The default is 000000 (black).
Transparent
A choice of 'yes' or 'no' to whether the applet should be transparent in compatible browsers, replacing the BgColor with the content or background of the page behind the applet. Note that in incompatible browsers, the BgColor will still be visible. The default is no. If you choose to set this parameter to 'yes', you must also alter the HTML code to support transparency (see Step 3 for this simple change).
|