Re: How to disable browser's back- and refresh-Button

From: Date: Mon, 19 Apr 2004 16:05:27 +0000
Subject: Re: How to disable browser's back- and refresh-Button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183821@lists.php.net to get a copy of this message
on any current browser simply removing the button from view, does not remove the function, but i guess it is a start Hawkes, Richard wrote:
Yes, I think unconstructive e-mails are a little rude aren't they? So here's a bit of JavaScript that removes everything! I'll let you fiddle with the settings: <html> <head> <title>Example</title> <script language="JavaScript"> function openWindow(webPage) {
    window.open (webPage, 'helpwindow', config='height=300, width=600,
toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, directories=no, status=no'); } </script> </head> <body> <a href="javascript:openWindow('whatever.html')">WHATEVER!</a> </body> </html> -----Original Message----- From: Marco Schuler [mailto:listworks@gmx.ch] Sent: 19 April 2004 17:40 To: php-general@lists.php.net Subject: Re: [PHP] How to disable browser's back- and refresh-Button Hi Am Mo, 2004-04-19 um 17.18 schrieb John Nichel:
Marco Schuler wrote:
Hi I want to prevent the user to use the browser's back-/refresh-button in my multipage registration form (as well as in other forms). How can I do this? Thanks for your help!
You can't with PHP.
It's going OT in this case, sorry! But how to do it then? JavaScript? And if yes: how?


« previous php.general (#183821) next »