5 replies
http://www.4guysfromrolla.com/webtech/012600-1.shtml
This article explains how to expire the page so a use can not go back.
by jamlove
by cedric king
Have a script which executes on document's OnLoad event. The script should check that if "history.length" = "0". If it is, it means that there is no Back history, so it should execute another function which toggles the elements between ON and OFF:
function Toggle(objElement)
{
objElement.disabled = (!objElement.disabled)
}
If you are using IE, then that's what you can do. You can't determine if there's Next document in the History list. If you are using Netscape, you can use "history.next" and "history.previous" (which returns you a URL) to determine if you should Disable the Next button.
Hope I understand your problem and solve it.
by jamlove
by jamlove
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending