Christian.net Saturday
July 5 2008

Web Gadgets: Hit Counter

This gadget displays a small graphical button that displays the number of times your page has been viewed. It looks like this:

Try reloading this page a few times and note that the number increases each time.

The HTML code to display the counter is:

<a href="http://christian.net/" target="_blank"><img src="http://christian.net/counter.php?id=COUNTER_ID" border="0"></a>

Where COUNTER_ID is the unique ID for a specific counter.

You can have as many Christian.net counters as you'd like. To create a new counter or edit an existing counter you must use the counter manager tool.