Counters
Due to popular demand we are now hosting a series of graphic
Graphical Counters such as an odometer or LCD display
Syntax
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?dd=A&st=xxx&df=datafile.dat">
- dd is the letter defining a digit from A to E ranging from Odometer to script text.
- st is the start number
- df is a unique name for a counter file to be created in a non-public directory on the system.
The data file should reflect the page and user's name.
Frame color and Thickness
A frame with a bluish color is wrapped by default. You have to use ft=0 to ignore this feature.
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi">
This may not work with all browsers. You should use at least one keyword in the query string (for example, df=data_file
). Random counter is displayed as no data file is specified. The default frame thickness, color and digit style
is used.
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?ft=1">
No df= option, therefore random digits are displayed. Because of ft=1 no frame was wrapped.
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?ft=6">
Random digits. Wrapped frame is with default color and thickness.
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?ft=10&df=x.dat">

Random digits. Wrapped frame is with default color and asked thickness.
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?frgb=ffd700&df=x.dat">

The wrapped frame is of the asked color and default thickness. The color is used as hex string. Note, DO NOT add
# before the string as you use with Netscape. In query string, if you use a #, everything after #
is ignored. So, be careful.
or you use can use the RGB triplets:
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?frgb=255;215;0&df=x.dat">

or you even use the color name. You have to add this support while you configure using the Count-config
script.
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?frgb=gold|df=x.dat">
Digit Styles
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?dd=A|df=x.dat">
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?dd=B|df=x.dat">
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?dd=B|frgb=69;139;116&df=x.dat">
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?dd=C|df=x.dat">
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?dd=D|ft=3|df=x.dat">
<img src="http://cgi.niagara.com/cgi-bin/Count.cgi?ft=2&frgb=000000&dd=E|df=x.dat">

|