

















|  |
Setting Up A Counter
Indra's Net supports Count, a flexible CGI
counter program by Muhammad A. Muquit. Count is a very powerful
program; this document covers its basic use and assumes a fundamental
understanding of creating and editing HTML documents. (If you are
unfamiliar with creating and editing HTML documents, a good starting
point is Part I: Creating
Your Page(s) of our "Setting Up Your Personal Web Site" guide.)
If you would like more information regarding the program you may visit
the
Count Web site to learn more about Count's features.
Part I: Learning The Basics
The counter is just a GIF image that is generated on the fly. All you
do is place an <IMG> tag, which calls
the counter program, where
you want the image to appear. The syntax used is as follows:
<IMG src="/cgi-bin/Count.cgi?df=account-pageID">
account is your account name (or the
name of your commercial Web site). pageID is how you identify the page you
want counted to the counter program. Each page with a counter should
use a different pageID. The pageID can be anything you
like, but commonly you just use the name of the HTML file.
For example, if your account was jdoe, and
you were adding a counter to your index.html file, you would use:
<IMG src="/cgi-bin/Count.cgi?df=jdoe-index">
The resulting counter would look like:
Part II: Counter Options
There are a number of options which can be used to control how your
counter looks. Each option is separated by a "|". For example:
<IMG src="/cgi-bin/Count.cgi?df=jdoe-index|ft=6">
- Frames:
-
By default the counter will have a frame around it. The thickness of
the frame is controlled by the ft option.
ft=0 turns off the frame:
<IMG src="/cgi-bin/Count.cgi?df=jdoe-index|ft=0">
- Frame Color:
The color of the frame can be set using the frgb option. This option takes an RGB value,
ether in the form R;G;B or as a hex value
like Netscape uses. For example:
<IMG src="/cgi-bin/Count.cgi?df=jdoe-index|frgb=255;105;180">
and
<IMG
src="/cgi-bin/Count.cgi?df=jdoe-index|frgb=FF69B4">
both produce a counter with a hot pink border:
- Transparent Counter:
The background of the counter can be made transparent using tr=Y.
<IMG
src="/cgi-bin/Count.cgi?df=jdoe-index|tr=Y|ft=0">
- Digit Styles:
Digit style is selected with the dd=style option. The
name of the digit style can be found in the table below.
<IMG src="/cgi-bin/Count.cgi?df=jdoe-index|ft=0|dd=B">
The follow styles are available on Indra's Net:
| Style | Sample | Notes |
| A |  | LED |
| B |  | Odometer |
| C |  | Simple |
| D |  | Small LED |
| E |  | Nice
when transparent |
| cd |  | | |
| cdr |  | |
| cdd |  | Score Board |
| bang |  | |
We are willing to install other styles, just let us know! Digit Mania
has a large collection of counter styles.
If you have any questions or need assistance, please contact us.


|
|