How to add/modify your Counter.

Visits: Time:   Date:

We now have over 580 digit styles for you to choose from now installed on our counter.  To choose the style you like go to www.digitmania.holowww.com *.  We have made all the digit styles available at this site so you can use them on your counter.   To use the digit style that you like, look for the section at www.digitmania.holowww.com you want and for each style look for the line that says file names: ?xxx.gif and put the xxx part in the counter parameter dd=xxx.  For example..if you want a counter that looks like a banana click on the section Bizarre and you will see the banana style.  A few lines below the Banana digits you will see the digit file names 'file names: ?banana.gif'.  This means that the digits are 0banana.gif,1banana.gif,2banana.gif..etc.  to 'go bananas' on your counter merely put 'dd=banana' in the dd parameter (Read Below for more information on how to do this) like this in your html code:

<img src="/cgi-bin/Count.cgi?dd=banana|df=howto.dat">

which will look like this:

which is very ugly..but at least it gets the point across :)

*VVM does not own any rights to the styles made available at this free site nor do we make any guarantees as to the quality or function of these digits.

Note: If you are using Netscape Composer your original counter will be destroyed when you upload (publish) your page; therefore you will need to follow these instructions below to get it working again.

VVM is providing this page to help you get a wwwcount ver 2.4 working in your home page or to modify the one provided on your page by default.

E-mail Webmaster or post an article in the alt.vvm.cgi-bin Newsgroup about any problems you have with this and someone will get back to you or update this page with the answers.

How to insert the Counter in your HTML document


We'll explain each option step by step. If you keep reading, you'll see it's really simple. You can refer to the program like this:

<img src="/cgi-bin/Count.cgi?ft=9|frgb=69;139;50|tr=0|trgb=0;0;0|wxh=15;20|md=6|dd=A|st=5|sh=1|df=username.dat" align=absmiddle>

Note:  All these counter options can be found at http://www.fccc.edu/users/muquit/Count.html#opti

Important: Virtual Domain users need to use the following !!

<img src="http://www.vvm.com/cgi-bin/Count.cgi?ft=9|frgb=69;139;50|tr=0|trgb=0;0;0|wxh=15;20|md=6|dd=A|st=5|sh=1|
df=username.dat" align=absmiddle>
The string between ? and " is called the QUERY_STRING. Make sure there are no newlines in the <img src= line and no space in the QUERY_STRING. Here are some definitions for what all that means:
    ft=9
       ft means frame thickness. If you want to wrap the counter
       with a ornamental frame, you define the frame thickness 
       like this. Here 9 is the thickness of the frame in pixel.
       This value can be any positive number more than 1. For nice
       3D effect, use a number more than 5. If you do not want
       frame, just use ft=0.
    
    frgb=69;139;50
       frgb defines the color of the frame. Here 69 is the red 
       component, 139 is the green component and 50 is the blue
       component of the color. The valid range of each component
       is >=0 and <= 255. The components must be separated by ;
       character. Note even if you define ft=0, these components
       must be present, just use 0;0;0 in that case.
    
    tr=0
       tr defines if you want transparency in the counter image.
       here tr=0, that is I do not want transparent image. If you
       want transparent image, define tr=1. Note that Count.cgi, 
       does not care if your digits are transparent GIFs or not.
       You must tell explicitly which color you want to make 
       transparent.

    trgb=0;0;0
       if tr=1, then black color of the image will get transparent.
       Here 0;0;0 are the red, green and blue component of the color
       you want to make transparent.
    
    wxh=15;20
       wxh string defines the width and height of an individual 
       digit image. Each digits must have the same width and 
       height. If you like to use digits not supplied with my
       distribution, find out the width and height of the digits
       and specify them here.

    md=6
       md defines the maximum number of digits to display. It can be
       >= 5 and <= 10. If your counter number is less than md, the
       left digits will be padded with zeros. Here md=6 means, display
       the counter with maximum 6 digits. f you do not want
       to left pad with zeros, use pad=0 instead of md=6.
       Note you can either use md=some_number of pad=0, in this
       field, you can not use both. If you use pad=0, then
       the digits will be displayed exactly without padding.
        
    dd=A
       dd means digit directory. A indicates, it will use my LED digits
       located at the directory A. check the digits link at the bottom of 
       the page for an updated list of available digit directories.
 
    st=5
       st means start, that is start the counter with this value. 
       
    sh=1
       sh mean show. If sh=0, then no digit images will be displayed,
       however a transparent 1x1 transparent GIF image will be
       returned, which will give the illusion of nothing being displayed.
       Althouh it will seem that nothing is displayed, the counter will
       be incremented all right.

    df=count.dat
       finally df means data file. This is the file which will contain the
       counter number. use your username for this file.
      
display=clock
   this will display the time ONLY if that digit style supports it.
display=date
   this will display the date ONLY if that digit style supports it.

All these options must be in the same order as told and all in lower case and all of them must exist. Anyway, look at this Example Page, you will get the picture.

Thanks to Muhammd A Muquit for the use of this counter and parts of this page. His homepage can be found at http://www.fccc.edu/users/muquit/