The Counter
Titan customers can use these counters on their homepages 

Style Name

Example

Style Name

Example

led

cyan

odometer

eggs

lcd

halloween

orange

red

chalk

fancy

scoreboard

frozen

neat

handwriting

beach

oldstyle

electric

sf

speckled

curly

noisy

timex

Usage Instructions

Choose a counter style above and save it to your hard drive. Save it to the same directory as the web page on which the counter will be displayed. Upload this counter image along with your web page to the webserver when you are ready.

 To use the counter in your HTML files copy and paste the sample code below into an HTML tag on your HTML page
<img src="/cgi-bin/counter/counter.exe?arg1=value1&arg2=value2&...&argn=valuen">
Please note that if your web page is for a Domain name hosted at Titan Internet then you must add http://www.titan.co.nz into the code
<img src="http://www.titan.co.nz/cgi-bin/counter/counter.ex  etc etc etc ">
where the arguments are:

Argument 
(* means required)

Possible Values

Meaning

link*

Titan Internet  Username

Uniquely identifies the page calling the counter. This is case-sensitive. See examples below.

width

0,1,2,3,4,5,6,7,8 or 9

The width of the resulting image in digits. Extra zeros will be added to the beginning. If the width is too short for the number to be displayed, it is lengthened so that all digits may be displayed. Default is 4.

style*

Any style name found in the available styles table above

Specifies the set of digits to use in constructing the final image, or specifes the use of the simple style 1. Should be all lower-case

ord

yes or no (must be lowercase).

If ord=yes, an ordinal number will be outputted 2. An ordinal number is a number like 345th, 10871st, 22nd, etc. The default is no

bgcolour

RRGGBB or trans

When using the simple style, specifies the background colour of the image, or if trans is used, specifies a transparent background. RRGGBB should be 3 2-digit hex values in one string, similar to the HTML command 

<BODY BGCOLOR="RRGGBB">

. This argument has no meaning when style does not equal simple. The default is 000000 (black).

fgcolour

RRGGBB

When using the simple style, specifies the foreground colour of the image. Same format as bgcolour. The default is FFFFFF (white).

inc

0, 1, 2, 3, 4, or 5

Determines how much to increment the counter. Using 0 means the counter will not increment. Using a value less than 0 will result in no increment. Using a value greater than 5 will result in an increment of 5. 

Notes:
1The simple style looks like this: 

2To use ordinal numbers, you have to use  the LED style or simple style.

Examples
Here are some examples of using the counter.

<img src="/cgi-bin/counter/counter.exe?link=titan_user_name&style=led">

<img src="/cgi-bin/counter/counter.exe?link=titan_user_name&style=odometer&width=7">

<img src="/cgi-bin/counter/counter.exe?link=titan_user_name&style=simple&bgcolour=00FFFF&fgcolour=FF0000">

<img src="/cgi-bin/counter/counter.exe?link=titan_user_name&style=led&width=0&ord=yes">

<img src="/cgi-bin/counter/counter.exe?link=titan_user_name&style=simple&fgcolour=00FF88&ord=yes">

 

©1999 TiTAN Internet Ltd. All Rights Reserved. Terms and Conditions.