General
Redirects the visitor to different pages based on the value of a stored cookie. If no cookie is found, the available items are displayed for the user to pick from, which sets a cookie for their next visit.
(Choose an animal then reload the page to see how the redirect works.)
Notes
- Created by: Ronnie T. Moore
- Web Site: http://javascript.internet.com/
- Posted: May 11, 2000
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: cookieRedirect.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.



