Hi,
I’m working on a dynamic site that’s made up of many pages. I’m providing the user with a easy to use navigation system, but I’m concerned that old habits may cause them to use the browsers back button with disastrous results.
Browsing so far has revealed a range of options from captureEvents and addEventListener (a process that non of the postings I read talk that highly about ... if you can even do it with history.back), through to creaing a new window and removing the navigation bar (I’d rather avoid opening new windows).
I’m left tonight wondering if it’s simply possible to attach a simple alert() that will be called if history.back() gets triggered, and breaking the command if they select NOT to go back .... I’m wondering if that’s possible?
any ideas?
thanks
Giles
I’m working on a dynamic site that’s made up of many pages. I’m providing the user with a easy to use navigation system, but I’m concerned that old habits may cause them to use the browsers back button with disastrous results.
Browsing so far has revealed a range of options from captureEvents and addEventListener (a process that non of the postings I read talk that highly about ... if you can even do it with history.back), through to creaing a new window and removing the navigation bar (I’d rather avoid opening new windows).
I’m left tonight wondering if it’s simply possible to attach a simple alert() that will be called if history.back() gets triggered, and breaking the command if they select NOT to go back .... I’m wondering if that’s possible?
any ideas?
thanks
Giles