cactus1000
Programmer
Here's my problem: My webpage has a browser-sniffer that works in the following way -- my index.html page is a non-javascripted web page. Upon loading, it checks for your browser version. If it's Netscape or IE 4x or higher, it redirects you to index1.html, a javascripted version.
So when you are on the javascripted page, if you click on the browser's "back" button, you go back to index.html -- which then checks your browser version and redirects you to index1.html, ad infinitum.
I know how to use the history.go method, but I don't want to add a "back" button to my web page. I want the user to use the browser's "back" button, but go back two URLs rather than one.
Any suggestions?
So when you are on the javascripted page, if you click on the browser's "back" button, you go back to index.html -- which then checks your browser version and redirects you to index1.html, ad infinitum.
I know how to use the history.go method, but I don't want to add a "back" button to my web page. I want the user to use the browser's "back" button, but go back two URLs rather than one.
Any suggestions?