Thursday, June 22, 2006

Homecoming Shirt Sayings 32

Add free web counter

I created a simple hit counter to add on any website and easily configurable, the accountant may evolve in improvements, this is version 1 so it may take more later versions with more functions and design also features an example of the counter is as the one shown in my blog on the right side just above the logo of the blog.

To add this counter to any site you just have to add a small line of javascript and configure some things, it's easy and fast, here a description:
Script to add:
\u0026lt;script src = "http:/ / www.creandowebs.com/contador.asp?user =
paginaweb.com
& tv = Visitor
& fn = Arial, Verdana & sz = 11 & bd = yes & c = 000099 "> \u0026lt;/ script>
(Note all goes into one line, cut for space) where we set
which is marked in bold. User =
paginaweb.com

the page where the counter will be, it is important to change this in order to have a unique counter for each site. Tv =
Visitor
is the text that will appear just before the visits, for example: 0202 Visitor

fn = Arial, Verdana
is (s) source (s) to use. few options: they can be Tahoma, Trebuchet MS or anyone else who uses your site

sz = 11
is the font size in pixels, the size 11 is equivalent to more or less the size 2 Options: number valid for the font size you want

bd = yes yes
if the text is bold, if you want this change it not Options: yes (bold font) no (regular font)
c = 000099
is
text color in hexadecimal value Some color: ffffff
White = Black = 000000 0000ff

Blue = Red = Green = 00ff00 ff0000


That's it, the script must be attached to the part where you want the counter to appear, I inform you that the counter is programmed to count visits using sessions, this occasion is what they are actual visits, ie if someone clicks hagarra by reloading the page or only generate a visit (If the user has enable cookies for sessions that use this.)


0 comments:

Post a Comment