6 replies
by jay eckles
You can't. IE doesn't provide a client-side API for dealing with the back button. At best you can do some tricks with the history object and try to back-fill it with the current page or use a kiosk window and VBScript to kill hotkeys or something like that. These are hacks that all have known work-arounds.
This is a FAQ. Check out any of the FAQs for comp.infosystems.www.authoring.html or comp.lang.javascript, for example. Search MSDN as well, but I don't think they'll have anything saying you specifically can't do it; you just won't find an article telling you how you can.
If this is especially important, there are a couple of things you can do. One, you could write an applet that parses and displays your HTML and provides whatever browsing capability you want your users to have - a browser within a browser, if you will. Very inefficient. You could also have users download your own customized version of IE - write a VB app that uses the IExplorer object to provide browsing capability.
Good luck.
Jay Eckles
www.jayeckles.com
by johnnychow8
by ebob
The closest you can come (that I know will work) is to use client-side Javascript's "window.replace()" method. This will load the requested file/page, and take up the same "slot" in the history stack.
See any good reference on Javascript, including www.javascript.com, www.zdnet.com/devhead and developer.netscape.com.
by ebob
by johnnychow8
by johnnychow8
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending