Forum Moderators: open
Make your links go not to the page itself but to an "in between" page that then redirects the user to the actual destination URL. With that set-up, a single click on the Back Button will loop the user right back to the page they were already on. The screen will redraw (quickly) rather than just staying static.
In almost all cases, absolutely. I was assuming that manju has a unique reason for this request, such as working on a special, limited audience project with unique requirements. Most of his posts seem to be in this direction.
On my public sites, I go to extremes to make sure that the Back Button always works intuitively.
(edited by: Liane at 6:44 pm (gmt) on Sep. 20, 2001
its been a while since i tinkered with this but i believe you can do it two ways. try looking at these two JS methods
history.go() and/or
location.replace()
i think go() will take an argument of -1 which makes the current page appear as the first one the browser has been too. something like that. there is no actual way to switch on or off the functionality in the browser unless (as stated above) you launch a new window without a toolbar...and even then it is still there if the user presses alt+left sorry i could not be a tad more precise.
<script language="JavaScript"><!--
javascript:window.history.forward(1);
//--></script>
For example, some sites can charge your credit card twice if you use the back button to exit.
The best way to disable is to use a between page with a javascript forwarding and a meta refresh tag.
You cannot fully disable the back button because more advanced surfers can and will use the right button on the back button and jump back several pages. More modern browsers all seem to have the down arrow to see a list of the history.