|
Web Services - Counter
|
![]() |
| Home | About Us | Products | News | Support | Contact |
Adding a web counter to your web pagesIt's often nice to set up a counter on your website to tell you how many people have visited a certain page.This script can be accessed by using the following bit of HTML: However, without passing it any data it won't be of much use to you - you need to give it a name so that it can keep track of your page. If you don't give it a name, or give it the same name as someone else's page, it won't count accurately. Also, you should only have one counter on one page - if you want to keep track of more than one page, add a different counter - perhaps by adding a number to the end of the name - so that the counter only goes up when a new person visits a page, not the same person just visting different pages. If you are using a RISC OS machine, you can use a program called CounterMaker to create your counter - it will even read your Voyager options file to choose a name for you. CounterMaker is available from Richard Goodwin's website. The following are parameters which you can pass to the program - the name is always required, but the other fields are optional. code
colours
The following colours are valid for use with the above codes:
size
owner To put hidden counters on your site, set all the colours to the same colour value - one that matches the background colour of the page you want to put it on - and/or make the size of the image very small - height="1" width="1" should do the trick. Final example
Final notesOf course you can still use the standard <img...> extensions such as alt="many" which will substitute the word many if the image doesn't load, so you could have the page saying This page has had many hits since 15th July).Don't panic!
|
Sections Computer Systems Game Consoles Status at a glance
|
| WebMail | Hosted Web Sites | Downloads | RSS News | Status |