Home
Site Map
Contact Us
Search
What's New

Examples for Counter, Clock & Date Display Options

 

Below are examples you can use to configure your counter, clock and date display. Copy and paste your choice into the html on your page where you want the counter or clock to appear.

For counters to display and function you must replace yourfilename with the name provided to you by the webmaster. If you opt to use a hidden counter the webmaster will provide you with a link where you can read your hits.

Clocks and date displays do not require any additional files.

Please be sure you read the instructions on our Counter home page.

simple, no frame, digit style A (default)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&ft=0">
df=sample.dat&ft=0
frame with default frame-color and thickness is 4 (specified)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&ft=4">
df=sample.dat&ft=4
digit style B
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&dd=B">
df=sample.dat&dd=B
digit style C, display comma if more than 3 digits
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&dd=C&comma=T">
df=sample.dat&dd=C&comma=T
digit style D
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?ft=3&df=yourfilename.dat&dd=D">
ft=3&df=sample.dat&dd=D
digit style E, make white transparent
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?trgb=ffffff&df=yourfilename.dat&dd=E">
trgb=ffffff&df=sample.dat&dd=E
red frame with default thickness
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&frgb=ff0000">
df=sample.dat&frgb=ff0000
Hidden counter
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&sh=F">
Literal string with comma
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?lit=94032048040320&comma=T&dd=D&ft=2">
lit=94032048040320&comma=T&dd=D&ft=2
frame color can be RGB format
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&ft=4&frgb=0;0;255">
ft=4&lit=0123456&frgb=0;0;255
frame color can be hex as well, using blue here
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&ft=4&frgb=0000ff">
ft=4&lit=0123456&frgb=0000ff
frame color can be a name as well
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&ft=4&frgb=Gray">
ft=4&lit=0123456&frgb=Gray
change green digit-color to default pen color
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&chcolor=T">
lit=1234567&chcolor=T
change green digit-color to yellow
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&rgb=00ff00&prgb=ffff00">
lit=1234567&srgb=00ff00&prgb=ffff00
show time (12 hr format)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=clock">
display=clock
show time (12 hr format) don't pad hr with zero
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=clock&pad=F">
display=clock&pad=F
show time (24 hr format)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=clock&tformat=24">
display=clock&tformat=24
show GMT Time
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=clock&timezone=GMT+0000">
display=clock&timezone=GMT+0000
show another time zone (Dhaka, Bangladesh is GMT+0600)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=clock&timezone=GMT+0600">
display=clock&timezone=GMT+0600
show date (MM-DD-YY) digit style CDR
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=date&dd=cdr">
display=date&dd=cdr
show date (DD-MM-YY)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=date&dformat=ddmmyy">
display=date&dformat=ddmmyy
show date (DD-MM-YYYY) use YYYY to show full year (digit style CD)
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=date&fy=T&dd=cd&dformat=ddmmyyyy">
display=date&fy=T&dd=cd&dformat=ddmmyyyy
make the green color transparent,no frame
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&trgb=00ff00">
df=sample.dat&trgb=00ff00
make the black color transparent
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?df=yourfilename.dat&trgb=000000">
df=sample.dat&trgb=000000
make the black color transparent,change green color to a shade of gray
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?srgb=00ff00&prgb=101010&df=yourfilename.dat&trgb=000000">
srgb=00ff00&prgb=101010&df=sample.dat&trgb=000000
display an image (in this case, logo.gif) with a hidden counter
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?display=image&dd=D&image=logo.gif&df=yourfilename.dat&incr=T&frgb=8B6508&ft=20">
display=image&dd=D&image=lenna.gif&df=sample.dat&incr=T&frgb=8B6508&ft=20
composite counter at the bottom center of the image, make white transparent
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?image=foo.gif&dd=E&comma=T&df=yourfilename.dat&align=bottomcenter&tr=T&trgb=ffffff">
image=foo.gif&dd=E&comma=T&df=sample.dat&align=bottomcenter&tr=T&trgb=ffffff
composite counter at the top center of the image, offset is 5 pixels from top
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?image=yeehaw.gif&dd=A&df=yourfilename.dat&comma=T&align=topcenter&offset=5&ft=4">
image=yeehaw.gif&dd=A&df=sample.dat&comma=T&align=topcenter&offset=5&ft=4
composite counter at the bottom center of the image,make black transparent
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?image=peng.gif&dd=
A&df=yourfilename.dat&comma=T&align=bottomcenter&offset=40&trgb=000000&ft=0">
image=peng.gif&dd=A&df=sample.dat&comma=T&align=bottomcenter&offset=40&trgb=000000&ft=0
rotate 270 degrees. Note, degrees are implied here
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?ft=0&df=yourfilename.dat&rotate=T&dd=D">
ft=0&df=sample.dat&rotate=T&dd=D
rotate 180 degrees
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?ft=0&df=yourfilename.dat&dd=D&degrees=180">
ft=0&df=sample.dat&dd=D&degrees=180
rotate 90 degrees
<img src="http://www.boiseschools.org/cgi-bin/Scripts/Count.exe?ft=0&df=yourfilename.dat&degrees=90&dd=D&prgb=ffff00">
ft=0&df=sample.dat&degrees=90&dd=D&prgb=ffff00

back to Counter home page

Boise School District
8169 W. Victory Rd., Boise, ID 83709
© Independent School District of Boise City
All rights reserved