471,853 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

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 7415
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
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.