RE: [PHP] Re: Browser windows close
| From: | Chris Grigor | Date: | Thu, 09 May 2002 07:45:28 +0000 |
| Subject: | RE: [PHP] Re: Browser windows close | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96779@lists.php.net to get a copy of this message | ||
ah cool thanks chaps
I actually used the following which is for frames
<a href="#" onClick="parent.window.close()">Close Window
Thanku all !!
-----Original Message-----
From: George Nicolae [mailto:geomasterweb@hotmail.com]
Sent: Thursday, May 09, 2002 8:37 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Browser windows close
You can close a browser window with php because php is server side. You can
close a window with javascript (which is client side). the code (js) are :
<input type="submit" name="Submit2" value="close"
onClick="self.window.close()">
--
Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"Chris Grigor" <cgrigor@mweb.com> wrote in message
news:6F76E514B4D4EA469DACC8D4E2F2AF9B45DD53@mwjdc2.mweb.com...
More than likely this is an easy thing, I know its possible with Java
anyone know if theres a function in php that will shutdown your current
browser window.? for
example if I have a window open, with a button saying close window, I want
it to execute
a piece of code that will shut that window down... Ive never done this
before so
all help and criticism is welcome....
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php