Examples
Various parameters can be used to configure your counter.
Please replace &df=ID.dat with your ID#, for example &df=1234.dat. All parameters can be separated by & or |.
Frame color and thickness
By default a counter has a blue frame wrapped around.
<IMG SRC=".../Count.cgi?df=ID.dat">
With &ft=0 the counters appears without a frame.
<IMG SRC=".../Count.cgi?df=ID.dat&ft=0">
Frame in default color and thickness 10.
<IMG SRC=".../Count.cgi?dd=A&ft=10&df=ID.dat">
This frame has the default thickness, the color is modified. You can specify colors as hex numbers
(opposite to HTML-coding no leading # please!). See the color chart to find the color you want to apply.
<IMG SRC=".../Count.cgi?dd=A&frgb=ffd700&df=ID.dat">
You also can use RGB triplets to change colors.
<IMG SRC=".../Count.cgi?dd=A&frgb=255;215;0&df=ID.dat">
Rotation
<IMG SRC=".../Count.cgi?dd=A&ft=0&rotate=Y&df=ID.dat">
<IMG SRC=".../Count.cgi?dd=A&ft=0°rees=180&df=ID.dat">
<IMG SRC=".../Count.cgi?dd=A&ft=0°rees=90&df=ID.dat">
Typefaces
<IMG SRC=".../Count.cgi?dd=A&df=ID.dat">
<IMG SRC=".../Count.cgi?dd=B&df=ID.dat">
<IMG SRC=".../Count.cgi?dd=B&frgb=69;139;116&df=ID.dat">
<IMG SRC=".../Count.cgi?dd=C&df=ID.dat">
<IMG SRC=".../Count.cgi?dd=D&ft=3&df=ID.dat">
<IMG SRC=".../Count.cgi?ft=2&frgb=000000&dd=E&df=ID.dat">
Change colors
Green to red
<IMG SRC=".../Count.cgi?dd=A&df=ID.dat&srgb=00ff00&prgb=ff0000">
Negate colors
Note: Frame color remains unchanged.
<IMG SRC=".../Count.cgi?negate=T&dd=A&df=ID.dat">
Transparency
The black in typeface A is transparent.
<IMG SRC=".../Count.cgi?dd=A&tr=T&trgb=000000&df=ID.dat"> or
<IMG SRC=".../Count.cgi?dd=A&tr=T&trgb=0;0;0&df=ID.dat">
The green in typeface A is transparent.
<IMG SRC=".../Count.cgi?dd=A&tr=T&trgb=00ff00&df=ID.dat"> or
<IMG SRC=".../Count.cgi?dd=A&tr=T&trgb=0;255;0&df=ID.dat">
Invisible counter
With &sh=0 you can hide your counter, though it will still be working.
<IMG SRC=".../Count.cgi?df=ID.dat&sh=0">
Read counter
Using &incr=F you can read the value of your counter without increasing it.
<IMG SRC=".../Count.cgi?dd=A&incr=F&df=ID.dat">
Number of digits shown
Only 5 digits are displayed
<IMG SRC=".../Count.cgi?dd=A&md=5&pad=1&df=ID.dat">
No padding with leading zeros
<IMG SRC=".../Count.cgi?dd=A&pad=0&df=ID.dat">
WebHits uses Count (Release 2.3) - Many thanks to Muhammad A. Muquit
Related topics |