This is a discussion on "Javascript" within the JavaScript Forum section. This forum, and the thread "Javascript are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Javascript
How to disable the browser back and forward button
|
|
|
|
||||
|
Re: Javascript
Javascript isn't really intended to control the browser functionality, it is to enhance the page for the user.
There is no way to disable the back button with javascript it requires javascript tricks which personally I can't stand if a site does this to me -- I find a site on Google, have a quick look and try click back only to be on the same page again grr
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
|||
|
Re: Javascript
The back button is dependent on the browser's history object:
The back and forward button functionality can be extended to operate on asynchronous server requests (either through local anchor points or asynchronous buffering techniques like iframe or ajax) but cannot and SHOULD NOT be disabled. |
|
|||
|
Re: Javascript
Don't. Users will hate you, and designers will sneer at you.
|
|
|||
|
Re: Javascript
I agree, this sort of thing would make me angrily punch my keyboard
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php and javascript | yvettesio | JavaScript Forum | 8 | Mar 14th, 2007 23:18 |
| JavaScript | cbrams9 | JavaScript Forum | 1 | Sep 20th, 2006 17:35 |
| using xml in javascript | shailu | JavaScript Forum | 0 | Jul 25th, 2006 07:36 |
| Can someone help me with this javascript | Galaxyblue | JavaScript Forum | 2 | Mar 11th, 2004 12:18 |
| what does \\ mean in javascript | jenjen1018 | JavaScript Forum | 5 | Jan 6th, 2004 17:05 |