Add A Fancy Page Counter

Now has come the time to use the counter in your HTML files.

 

Installation Guide

The counter is called like this in your HTML:
<img src=”/cgi-public/counter.exe?arg1=value1&arg2=value2&…&argn=valuen”>

where the arguments are:

Fancy Counter Explanation
Argument
(* means required)
Possible Values Meaning

link*

your login ID!
(example: iwi)

Uniquely identifies the UserID of your directory. If you are unsure about your UserID please send email to custcare@iwi.com.sg

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 of the sample
styles shown below
Specifies the set of digits to use in constructing the final image, or specifes the use of the simplestyle 1. Should be all lower-case

ord yes or no(must
be lowercase).
If ord=yes, an ordinal number will be outputted 2. An ordinal number is a number like 345th, 10871st, 22nd, etc. The default is no

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.

 

Note:

  • The simple style looks like this: Web hosting Care - 0066 from IT Works Internet. This style requires less disk I/O and thus (should) execute more quickly.
  • To use ordinal numbers, you may use any of the available fonts in our web server. See table below this section.

 

Fancy Styles

Examples
Web hosting Care -0765- IT Works Internet <img src=”/cgi-public/counter.exe?link=userid&style=led”>
Web hosting Care -0678840- IT Works Internet <img src=”/cgi-public/counter.exe?link=userid&style=odometer&width=7″>
Web hosting Care -0066- IT Works Internet <img src=”/cgi-public/counter.exe?link=userid&style=simple&
bgcolour=00FFFF&fgcolour=FF0000″>
Web hosting Care -72ND- IT Works Internet <img src=”/cgi-public/counter.exe?link=userid&style=led&width=0&ord=yes”>
Web hosting Care -011th- IT Works Internet <img src=”/cgi-public/counter.exe?link=userid&style=simple&fgcolour=00FF88&ord=yes”>

 

More Styles

The argument is stated below each style.

Web hosting Care -LED- IT Works Internet
led
Web hosting Care -Odometer- IT Works Internet
odometer
Web hosting Care -LCD- IT Works Internet
lcd
Web hosting Care -Speckled- IT Works Internet
speckled
Web hosting Care -Noisy- IT Works Internet
noisy
Web hosting Care -Cyan- IT Works Internet
cyan
Web hosting Care -Eggs- IT Works Internet
eggs
Web hosting Care -Halloween- IT Works Internet
halloween
Web hosting Care -Curly- IT Works Internet
curly
Web hosting Care -Timex- IT Works Internet
timex
Web hosting Care -Orange- IT Works Internet
orange
Web hosting Care -Chalk- IT Works Internet
chalk
Web hosting Care -Scoreboard- IT Works Internet
scoreboard
Web hosting Care -Neat- IT Works Internet
neat
Web hosting Care -Beach- IT Works Internet
beach
Web hosting Care -electric- IT Works Internet
electric
Web hosting Care -fancy- IT Works Internet
fancy
Web hosting Care -frozen- IT Works Internet
frozen
Web hosting Care -handwriting- IT Works Internet
handwriting
Web hosting Care -old style- IT Works Internet
oldstyle
Web hosting Care -SF- IT Works Internet
sf
Web hosting Care -red- IT Works Internet
red

Related Article