
|
OnLine Counter manual
page |
The counter that changes the
actual number of visitors as you watch it
Full description
of all features of OnLine Counter
-
parameters with this sign are mandatory - counter won't work without them
- parameters with this sign need registered version of counter
Basic configuration
The only parameter that is necessary for applet to
work is the URL of your page, which is, in fact, the ID of your counter
<applet
code="OnLineCounter.class" codebase="http://java.oaza.co.yu"
width="50" height="20">
<param name="URL" value="www.mysite.com">
</applet>
Naming the counter
URL parameter - note: this parameter is mandatory! It tells the server
where your counter actually is. The URL parameter should not contain the http:// portion
of your page's address, although it will work even with http://. Also, following
characters are forbidden: ? and \
If your pege's URL is http://www.somesite.com/~fred,
I suggest that the URL parameter of your should be www.somesite.com~fred
Example #1 - <param
name="URL" value="www.mysite.com">
Example #2 - <param name="URL"
value="www.xyz.com-chicago-business">
Example #3 - <param name="URL"
value="www.somewhere.com~johnnie">
Configuring the counter outlook
- The
width and the
height of the
applet determine the size of the digits it displays. Maximum digits size is 40.
- Font parameter - you can change the font of digits, which is, by default, Arial.
If the font is not present at the clients PC, the default font will be used.
Example - <param
name="Font" value="Helvetica">
- Digits parameter - you can change the number of digits displayed. Default value is
5
Example - <param
name="Digits" value="7">
- Background parameter - you can change the counter background to suite your
page. Default colour is white. The syntax for color definition is: R,G,B (0<=x<=255)
Example - <param
name="Background" value="255,127,0">
- Color parameter(s) - this parameter defines the color of the digits. If multiple
colors are defined, the color of the digits will change as the counter increments. The
syntax for color definition is: R,G,B (0<=x<=255). Up to 20 colors are allowed.
Watch out for the syntax - no spaces between the commas.
Example #1 - one color <param
name="Color1" value="68,14,255">
Example #2 - multiple colors
<param name="Color1" value="68,14,255">
<param name="Color2" value="0,53,219">
<param name="Color3" value="255,255,255">
Sounds, OnClick &
OnDoubleClick
Sound parameter - every time the counter increments, specified sound file
will be played. Because of the bug in the MS Explorer, you can use only sounds originating
from this host. Right now these sounds are available. If
you have some other .au files send them to me ( misha@informatika.com
) and I will put them on server
Example - <param
name="Sound" value="bubble.au">
- Click parameter - here you put the URL of the page to which visitor will jump
after clicking on the counter
Example - <param
name="Click" value="http://www.mysite.com">
DoubleClick parameter - here you put the URL of the page to which visitor will
jump after doubleclicking on the counter. Unfortunately, MS Explorer does not know the
difference between the click and the doubleclick. Netscape will do fine.
Example - <param
name="DoubleClick" value="http://www.anothersite.com">
Advanced features
- RegNo parameter - certain parameters require registered version of counter. Hereby
you specify you registration number.
Example - <param
name="RegNo" value="9876543210">
Inc parameter - for those who want their counter to grow up very fast.
The counter will increment not by one, but by value here specified.
Example - <param
name="Inc" value="7">
Set parameter - if you want to reset the counter (or set it to the
certain value). Be careful with this option.
Example - <param
name="Set" value="0">
StatusText parameter - the text that will be written on the status bar when
you roll your mouse over counter
Example - <param
name="StatusText" value="Hello John !">
- Show parameter - sneaky counter. You can put a secret counter to your page, so
the visitor doesn't know that he increments it. Very useful! Combine it with minimum
applet width and height
Example - <param
name="Show" value="NO">
- Server parameter - for use only we have an agreement of installing a mirror of
counter server to your host. The value tells the apllet the IP address of the counter
server.
Example - <param name="Server" value="194.106.162.3">
This counter is dedicated to the memory
of my late grandmother Slavojka Krunic