Adding a Digital Clock to Your Web Page

 

If you are already using the hit counter (/scripts/counter/count.exe), then you will be familiar with this.


Usage

To use the clock, simply put this in your HTML:

<img src="/scripts/counter/count.exe?arg1=value1|arg2=value2|...|argn=valuen">
See the Hit Counter page for a full list of arguments.

Examples

You can use them by cutting and pasting the sample source lines into your own pages.

<img src="/scripts/counter/count.exe?display=clock">

<img src="/scripts/counter/count.exe?display=clock|dd=B">

<img src="/scripts/counter/count.exe?display=clock|tformat=12|dd=g">

<img src="/scripts/counter/count.exe?display=clock|tformat=24|dd=f">

<img src="/scripts/counter/count.exe?display=clock|frgb=FF00FF">



Troubleshooting

Q: I get a broken-image icon where the clock should be
A: Right-click on the broken image icon and select "View this image as...". If it says "URL not found" then you've mistyped your HTML - re-check it. If it
  • asks you to configure a viewer for application/octet-stream?
  • asks you if you want to save clock.exe?
  • it says the server is misconfigured
  • it says something like Can't create child process?
then contact
support@xhost.co.uk.
 
Q: I get an error message
A: Contact support@xhost.co.uk
 
Q: How do I change the digits?
A: Use the DD= parameter. See the Hit Counter page for more details