RE: [PHP] How to disable browser's back- and refresh-Button
| From: | Hawkes, Richard | Date: | Mon, 19 Apr 2004 15:31:15 +0000 |
| Subject: | RE: [PHP] How to disable browser's back- and refresh-Button | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183820@lists.php.net to get a copy of this message | ||
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?
--
Regards
Marco
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
==============================================================================
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================