Or using JavaScript location.replace for all URLs will not generate a history (so the back key does nothing)
- The replace method does not create a new entry in the history list
See
http://irt.org/script/244.htm
--
| Use a pop-up window (Spawn from
www.jimcoaddins.com will help create
| this) for this section of the site. The pop-up requires JavaScript to
| function, but can be set to not have toolbars. However, the Back
| function may be available from the right-click menu, which cannot be
| disabled in some browsers (e.g. FireFox).
| --
| Ron Symonds
| Microsoft MVP (FrontPage)
| Reply only to group - emails will be deleted unread.
|
| | > Thanks for the response. In regards to why I want to disable the
| > button,
| > this site isn't for commerical or recreational use. I am an
| > academic and I'm
| > trying to build this site for an online behavioral study. If they
| > are
| > allowed to use the "Back" key, they would be able to look back at
| > information
| > that I only want them to see one time.
| >
| > "Jon Spivey" wrote:
| >
| >> Hi Bruce,
| >> Here's a good technical answer
| >>
http://www.aspfaq.com/show.asp?id=2017
| >>
| >> My own view is that people are doing you a favour by visiting your
| >> site,
| >> you're not doing them a favour by building a site for them. They're
| >> putting
| >> money in your pocket, or whatever other motivation you have for
| >> building a
| >> site. Would you visit Walmart if they said you can only come in if
| >> you visit
| >> this aisle first, then you can only see the next aisle if you've
| >> already
| >> been to that aisle.
| >>
| >>
| >> --
| >> Cheers,
| >> Jon
| >> Microsoft MVP
| >>
| >> | >> > Does anyone know how to disable the Back button on the top of the
| >> > browser?
| >> > More specifically, I want my users to be able to only go forward
| >> > in my
| >> > website. I don't want them to have the ability to go backwards
| >> > to pages
| >> > they
| >> > have already seen. If anyone knows how to do this, please let me
| >> > know.
| >>
| >>
| >>
|
|