Download Page
____________________
Java:
Java web counter JInCount Ver
1.5 (ZIP file 5,3kb).
Includes: jincount.class (3,9kb) , numbers.gif
(1,65kb) example file, TXT help file (1,98kb).
The Java counter reads the numbers from your ordinary counter
and substitutes it with your own graphics.
It also works as a link to my home page if clicked upon.
How to
do the graphics:
- Make a gif file 160 pixel
wide and 22 pixels high.
- Draw your numbers 0 - 9, each
number area shall be 16 pixels wide (and 22 pixel high).
- Save the file as numbers.gif
.
Installation:
- Place the jincount.class wherever you want it on your website.
- Make a folder called cntimg in the folder where you have put the
jincount.class.
- Place the file numbers.gif in the cntimg folder.
Folder structure can be something like this....
- Use the counter in the HTML
file like this:
<applet
code="jincount.class" width=80 height=22>
<param name=count value="<!--#exec cgi="/cgi-bin/counter"-->">
</applet>
Width = 80 gives space to show five numbers on the counter (
5x16=80 ).
The code <!--#exec
cgi="/cgi-bin/counter"--> may be different on your website. Just be sure
to use the version that only give you the counter value as plain
text. The example above shows how it looks like on Tele2.