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
You need to do this using Javascript since it is a client side function.
window.close() is the function you are looking for.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Wee Chua [mailto:[EMAIL PROTECTED]]
Sent:
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
3 matches
Mail list logo