469,283 Members | 2,303 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,283 developers. It's quick & easy.

Emulate "Close" Button

How do I emulate the web page "Close" Button, i. e. the "X" in the upper
right hand corner of each web page?

Thank you....

Bruce
Jul 17 '05 #1
7 7289
Bruce A. Julseth wrote:
How do I emulate the web page "Close" Button, i. e. the "X" in the
upper right hand corner of each web page?


try:

<input type=button value="Close window" onclick="window.close();">

but, it will ask for confirmation...

--
--- --- --- --- --- --- ---
ja**@croatiabiz.com
Jul 17 '05 #2
> How do I emulate the web page "Close" Button, i. e. the "X" in the upper
right hand corner of each web page?


ask in Javascript newsgroup.
it is off-topic here
php run on server, not in client
Jul 17 '05 #3
Thanks.....

Bruce

"k-caj" <ja**@iskrica.com> wrote in message
news:bn**********@ls219.htnet.hr...
Bruce A. Julseth wrote:
How do I emulate the web page "Close" Button, i. e. the "X" in the
upper right hand corner of each web page?


try:

<input type=button value="Close window" onclick="window.close();">

but, it will ask for confirmation...

--
--- --- --- --- --- --- ---
ja**@croatiabiz.com

Jul 17 '05 #4
Okay!!!

"<- Chameleon ->" <ch******@hotmail.NOSPAM.com> wrote in message
news:bn**********@nic.grnet.gr...
How do I emulate the web page "Close" Button, i. e. the "X" in the upper
right hand corner of each web page?


ask in Javascript newsgroup.
it is off-topic here
php run on server, not in client

Jul 17 '05 #5
Rob
Don't be like that...It's an honest question.
Rob

"<- Chameleon ->" <ch******@hotmail.NOSPAM.com> wrote in message
news:bn**********@nic.grnet.gr...
How do I emulate the web page "Close" Button, i. e. the "X" in the upper
right hand corner of each web page?


ask in Javascript newsgroup.
it is off-topic here
php run on server, not in client

Jul 17 '05 #6
I noticed that Message-ID:
<5k*****************@newssvr27.news.prodigy.com> from Rob contained the
following:
Don't be like that...It's an honest question.


It was an honest answer. You can't do it with PHP.

--
Geoff Berrow
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #7
k-caj wrote:
Bruce A. Julseth wrote:
How do I emulate the web page "Close" Button,

Why would you want to?
<input type=button value="Close window" onclick="window.close();">
Gee, doesn't your bogometer tinkle?
but, it will ask for confirmation...


Check your FAQs. A UA might ask for confirmation; it might not.

--
Jock
Jul 17 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Lauren Wilson | last post: by
7 posts views Thread by Willem van Rumpt | last post: by
2 posts views Thread by Todd Cary | last post: by
3 posts views Thread by mfleet1973 | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.