Here's a little demo. Each time the index page loads, it checks and sets a cookie to decide whether to remain on the index page or to switch to one of three other pages:
Attachment 2264
Let me know what you think, it's very basic and should be easy to modify if needed/desired. The only code that really matters (the cookie routines are all basic stuff for working with cookies) is:
Code:
var numPages = 3
if(readCookie('whichPage') && readCookie('whichPage') !=0){
window.location.replace('index' + readCookie('whichPage') + '.htm');
createCookie('whichPage', (readCookie('whichPage') < numPages? readCookie('whichPage') - 0 + 1 : 0));
}
else
createCookie('whichPage', 1)
Bookmarks