Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help buliding visitors counter

Status
Not open for further replies.

thelordoftherings

Programmer
May 16, 2004
616
IL
Hello,

I have HTML based web site and I would like to add it the following functionality in Javascript:
1. I would like to create visitors counter that counts by IP (meaning, refresh won't pop it up)
2. If the visitor is the visitor number 1000 or 2000 or 3000 and so on... I would like to inform him that he won a picture. The picture will be raffled randomize.
3. The pictures are gif files located on my web site under the folder /images. So, the script should randomly choose a file from there and announce the user he won that picture.

Can someone please help me creating this code?

 
thread333-677010

[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
scratch that .. javascript and html might want to try the JS forum


[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top