thelordoftherings
Programmer
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?
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?