JavaScript Cookie: Name - Visits - Message
This cookie records the visitor's name, how many visits, and displays a message depending on how many visits have been recorded.
When visitors come to your site, the script will count the number of visits, and then a pop-up window will display the results to them. You can pre-set pop-up message based on the number of visitors visit.
Script Demo:
Demo
JavaScript Code:
Insert this code into <head> tags |
Insert this code into <body> tags |
Instruction:
- Change
<body>to<body onload="DisplayInfo()">
| Webmaster » Web Programming » JavaScript » Cookies » Name - Visits - Message |
Related Links:
Sponsored Links
