|
Hit Counter
When your web
hosting account is created, a hit counter is created for you.
If you wish to use it on your web pages, you're welcome to do
so, and there is no additional charge for this. No advertising,
no click throughs, no junk, just a nice, configurable counter.
The
basic html to include your counter on a web page looks like this:
<img
src="http://cgi.sunserver.com/cgi-bin/Count.cgi?df=mycounter.dat">
Now
of course, 'mycounter.dat' isn't the real name of the data file
in which your counter is stored. Each web site we host has its own
counter name, and you will receive that information in an e-mail
when you register a site with us. So when you use the html above,
you'd user the counter name you receive when your web host was created.
This
is what the default counter will look like:
We know that our
preferences for a counter's appearance won't appeal to everyone,
so we selected a highly configurable counter, and installed about
200 different digit fonts for it. You can change fonts, by adding
an additional tag to the html shown above. It would look like
this:
<img
src="http://cgi.sunserver.com/cgi-bin/Count.cgi?df=mycounter.dat&dd=tube">
The DD tag specifies
a "digits directory" and tells the counter where to get
the graphical images of the numbers from. Check out the fonts
pages to see what fonts are available, and use the DD=whatever
tag shown below the counter images in the html above. Our font example
would look like this:
The thickness of
the border around the counter can also be changed by adding yet
another tag to the html shown above. By adding ft= and a number
to the html above, we control the thickness of the border. By
using html that looks like this:
<img
src="http://cgi.sunserver.com/cgi-bin/Count.cgi?df=mycounter.dat&DD=tube&ft=12">
we can make the border thicker, and it will look like this:
Similarly,
we can make the border very small by setting ft=2 as in the following
example:
<img
src="http://cgi.sunserver.com/cgi-bin/Count.cgi?df=mycounter.dat&DD=tube&ft=2">
and the results appear as follows:
If you don't like
the default border color, or if it clashes with the color of the
digits you've chosen, you can change it. Yet another tag alters
the border color:
<img
src="http://cgi.sunserver.com/cgi-bin/Count.cgi?df=mycounter.dat&DD=tube&ft=6&frgb=ff0000">
will change the frame color to red as follows:
There are many other
options you can control (including displaying a clock, a date,
and assorted other things). If you're a happy html hacker and
not intimidated by the stuff above, go to the complete
instructions to learn what other amazing and sometimes confusing
things you can do with this counter.
|