This is a demonstration using JavaScript and cookies to determine the number of page loads and, thus, controlling page content and popup windows. This demonstration will work for you only if you have your browser set to accept cookies.

Instructions for use were first published in WillMaster Possibilities, in an articles titled, "How to Use Cookies, Part II." The article, "How to Use Cookies, Part I" contains information to assist understanding of how cookies work.

The headline, "Welcome..." text depends on the number of times you have accessed this page. (To access again, you can simply click your browser's Refresh/Reload button.)

Below the headline is a statement about how many times you have accessed this page.

You will see a popup on your first, second, and fifteenth visit, each popup different.

Save the page to your hard drive to study the JavaScript and HTML source code.