|
How To Add A Counter
*NOTE* This service is only available to our corporate virtual domain customers. To use this counter on your page you must send an e-mail to admin@storm.ca requesting that it be installed for you. There is an administrative charge for installing this feature.
Count2.3 can be used to display an access counter, the time, or the date for your WWW pages. This counter is very configurable and can be modified to better suit your page design. For full documentation on Count2.3, visit its home page at http://www.muquit.com/muquit/software/Count/Count.html
The counter is incremented only when the page is requested and served from the web server, so when a user reloads your page from his or her disk cache, no increment is made to your counter. Also, when your page is accessed with a non-graphical web browser such as Lynx, no increment is made to your counter.
Basic Counter
Using Count2.3 as your counter, you can keep track of the number of requests made for a particular page rather than the whole site. Simply assign a unique descriptor to the df= option.
<img src="http://www.storm.ca/cgi-bin/Count.cgi?df=index.html">
Displaying the Date
Using Count2.3, you can also display the current date on your webpage. Simply assign date to the display= option. You can also request different date formats using the dformat option and specify the year format using the fy=F option.
<img src="http://www.storm.ca/cgi-bin/Count.cgi?display=date">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?display=date&dformat=YYMMDD">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?display=date&fy=T">
Displaying the Time
Using Count2.3, you can display the current time on your webpage. Simply assign clock to the display= option. You can also request a 24 hour clock by assigning 24 to the tformat option.
<img src="http://www.storm.ca/cgi-bin.Count/cgi?display=clock">
<img src="http://www.storm.ca/cgi-bin.Count/cgi?display=clock&tformat=24">
Display Configurations
The following is a list of some of the option used with Count2.3 to configure the image displayed by Count2.3. Many options can be used together by using the '&' character between fields. For example:
<img src="http://www.storm.ca/cgi-bin/Count.cgi?df=index.html&frgb=ff0000=9&srgb=00ff00&prgb=0000ff">
- Specifying a Descriptor: df=
<img src="http://www.storm.ca/cgi-bin/Count.cgi?df=index.html">
- Frame Size: ft=
<img src="http://www.storm.ca/cgi-bin/Count.cgi?ft=1">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?ft=4">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?ft=9">
- Frame Colour: frgb=
<img src="http://www.storm.ca/cgi-bin/Count.cgi?frgb=7700FF">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?frgb=773300">
For help with colours try Webreference's Colorizer. Take the Hex value of the chosen color without the # in front.
- Displaying Comma: comma=T
<img src="http://www.storm.ca/cgi-bin/Count.cgi?comma=T">
- Rotating: angle=
NOTE: The only values for this option are the ones shown below.
<img src="http://www.storm.ca/cgi-bin/Count.cgi?angle=90">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?angle=180">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?angle=270">
- Digit Style: dd=
NOTE: The only values for this option are the ones shown below.
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=A">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=B">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=C">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=D">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=E">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=cd">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=cdd">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=cdr">
<img src="http://www.storm.ca/cgi-bin/Count.cgi?dd=bang">
- Changing Colours: srgb= AND prgb=
For help with colours try Webreference's Colorizer. Take the Hex value of the chosen color without the # in front.
<img src="http://www.storm.ca/cgi-bin/Count.cgi?srgb=00ff00&prgb=ff7700">
- Transparent Colours: tr=T AND trgb=
<img src="http://www.storm.ca/cgi-bin/Count.cgi?tr=T&trgb=000000">
- Hidden Counter: sh=0
<img src="http://www.storm.ca/cgi-bin/Count.cgi?sh=0">
- Display and not increment: incr=F
<img src="http://www.storm.ca/cgi-bin/Count.cgi?incr=F">
- Strings: lit=
digits: 0-9
characters: - : ,
AM: a
PM: p
<img src="http://www.storm.ca/cgi-bin/Count.cgi?lit=15396,84027-a:p">
For more advanced options feel free to visit the Count2.3 webpage at http://www.fccc.edu/users/muquit/Count.html
|
|