Hi all,
Can anyone tell me how to write a script to close the current opened window
with hyperlink? Thank you.
Calvin Chua
Systems Analyst
InterClean Equipment, Inc.
734-975-2967
www.InterClean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
This is offtopic, but easy
User javascript
Make your link =
a href="javascript:window.close();"linked item /a
If you are wanting to do it with PHP, stop.
PHP is server side only
http is connectionless, the server can't tell the client to close it's
window.
On 4/6/01 11:45 AM, "Wee Chua" [EMAIL
, April 06, 2001 2:46 PM
To: PHP (E-mail)
Subject:[PHP] Close Window script
Hi all,
Can anyone tell me how to write a script to close the current opened window
with hyperlink? Thank you.
Calvin Chua
Systems Analyst
InterClean Equipment, Inc.
734-975-2967
www.InterClean.com
--
PHP
You could do it only in javavascript
or in php
echo "a href=\"javascript://\" OnClick=\"self.close\"Close this
window/a\n";
py
At 02:45 PM 4/6/01 -0400, you wrote:
Hi all,
Can anyone tell me how to write a script to close the current opened window
with hyperlink? Thank you.
Calvin Chua
4 matches
Mail list logo