| Style Name | Example | File |
|---|---|
| led | |
| odometer | |
| lcd | |
| speckled | |
| noisy | |
| cyan | |
| eggs | |
| halloween | |
| curly | |
| timex | |
| red | |
| orange | |
| chalk | |
| scoreboard | |
| neat | |
| beach | |
| electric | |
| fancy | |
| frozen | |
| handwriting | |
| oldstyle | |
| sf |
Usage Instructions
To use the counter in your HTML files (web page). You will need to put in
the code to call the counter. The counter is called like this in your HTML:
where the arguments are:
| Argument (* means required) |
Possible Values | Meaning |
|---|---|---|
| link* | anything that doesn't contain a space | Uniquely identifies the page calling the counter. This is case-sensitive. See examples below. |
| width | 0,1,2,3,4,5,6,7,8 or 9 | The width of the resulting image in digits. Extra zeros will be added to the beginning. If the width is too short for the number to be displayed, it is lengthened so that all digits may be displayed. Default is 4. |
| style* | any style name listed above, for example,led, or the reserved value simple. Should not contain spaces | Specifies the set of digits to use in constructing the final image, or
specifes the use of the simple |
| ord | yes or no (must be lowercase). | If ord=yes, an ordinal number will be
|
| bgcolour | RRGGBB or trans | When using the simple style, specifies the background colour
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 style does not equal simple. The default is 000000 (black). |
| fgcolour | RRGGBB | When using the simple style, specifies the foreground colour of the image. Same format as bgcolour. The default is FFFFFF (white). |
| inc | 0, 1, 2, 3, 4, or 5 | Determines how much to increment the counter. Using 0 means the counter will not increment. Using a value less than 0 will result in no increment. Using a value greater than 5 will result in an increment of 5. If you are calling from a computer specified in the [No-Increment-For] section of counter.cfg, this argument has no effect. |
2Only the LED style can be used with the ord set to yes. If you use the simple style, you can always use ordinal numbers if you wish.
Examples
Here are some examples of using the counter. You should
change /myhomepage/ to the full URL to the page you want to count.