A Counter and a Clock


Questions about HTML to Contact: StudentWeb Help


Section 4.1: Format for the Counter, Date, and Clock


Counter displays the number of times image has been loaded.
The Counter tag has a series of optional fields that are placed at the end seperated by an & or a |.

To get a counter for your StudentWeb page plese fill out
this form.

If you are not a StudentWeb user, and have access to the cgi-bin the source for a good counter can be found here.
If you are not a StudentWeb user, and do NOT have access to the cgi-bin get yourself a couner at www.digits.com.

ParameterDescriptionExample
df=FILENAME Counter with data file sample.dat <img src="/cgi-bin/Count.cgi?df=sample.dat">
ft=#Frame thickness in pixels, default is 6. <img src="/cgi-bin/Count.cgi?df=sample.dat&ft=4">
frgb=R;G;BFrame color in red, green and blue as specified as a value between 0 and 255. <img src="/cgi-bin/Count.cgi?df=sample.dat&frgb=200;50;200">
tr=BTransparency on or off. Uses Y or N to create a transparent background, default is N. <img src="/cgi-bin/Count.cgi?df=sample.dat&tr=Y">
trgb=R;G;BTransparent color in red, green and blue as specified as a value between 0 and 255, or in 000000-ffffff format. <img src="/cgi-bin/Count.cgi?df=sample.dat&trgb=000000">
md=#Max number of Digits to display, default is 6. <img src="/cgi-bin/Count.cgi?df=sample.dat&md=10">
pad=BPadding with 0's, defaults to N without an md= or Y with and md=. <img src="/cgi-bin/Count.cgi?df=sample.dat&pad=N">
dd=NameDigit Directory, refer to Digits for the Counter for information on available digit directories. Default is A. <img src="/cgi-bin/Count.cgi?df=sample.dat&dd=B">
sh=BShow digits, with a value of N then no digits are displayed but the counter is still updated. Default is Y. <img src="/cgi-bin/Count.cgi?df=sample.dat&sh=N">
incr=BIncrement Count, used to not increment the counter when value is N, such as throughout this page. Default is Y. <img src="/cgi-bin/Count.cgi?df=sample.dat&incr=N">
lit=#Display literal, able to display a predetermined value. <img src="/cgi-bin/Count.cgi?df=sample.dat&lit=2515049">
negate=BNegate the color of the counter digits when value is Y. Default is N. <img src="/cgi-bin/Count.cgi?df=sample.dat&negate=Y">
degrees=#Rotate counter image to these values: 90, 180 or 270. Default is 0. <img src="/cgi-bin/Count.cgi?df=sample.dat|degrees=90">
display=XSpecify display with values: counter, clock or date. Currently works for digit styles A, D, and E. For clock and date it does not require a data file. <img src="/cgi-bin/Count.cgi?display=date">
timezone=XUsed with timezone=, values are:EST5EDT, CST6CDT, MST7MDT, PST8PDT, GMT, or GMT+# <img src="/cgi-bin/Count.cgi?display=clock&timezone=GMT">

<img src="/cgi-bin/Count.cgi?display=clock&timezone=GMT-6">
dformat=XSpecifies date format when with display=date, values: any combination of MMDDYY. <img src="/cgi-bin/Count.cgi?display=date&dformat=DDMMYY">


Section 4.2: Digits for the Counter, Clock, and Date


DirectoryExampleDigits
A<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=A">
B<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=B">
C<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=C">
D<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=D">
E<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=E">
H<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=H">


Questions about HTML to Contact: StudentWeb Help

Help Index - Help Page 1 - Help Page 2
Help Page 3 - Help Page 4 - Help Page 5