By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,291 Members | 3,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,291 IT Pros & Developers. It's quick & easy.

Emulate "Close" Button

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
> 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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.