473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 7518
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Lauren Wilson | last post by:
A2K app: Question: is the flagged line (<<<) below necessary. If that line is needed, what effect does it have (if any) on the fact that the very same database is the linked back end db? ...
7
by: Willem van Rumpt | last post by:
Hi all, coming from an unmanaged programming background, I took my time to sort out the IDisposable and finalizer patterns. Just when I thought I had it all conceptually neatly arranged, the...
2
by: Todd Cary | last post by:
Should this close the window, or have I missed something simple? Todd <html> <head> <title>Test close</title> </head> <body> This is a test on the closing of a window<br><br>
22
by: stephen | last post by:
I have created an order form that users javascript to create a new html document when the customers clicks the "print page" button. Once the new document has been created it then prints the...
4
by: stevong | last post by:
It works on Konquerer though. I remember it works on IE too. I've tried window.close() too. Doesn't work on Firefox also. I've also tried to create a function. It doesnt work on Firefox also....
0
by: bloombloom | last post by:
I am gonna post my AS in hopes that someone can get a good understanding of what i am doing. So here is the code: t1.onRelease = function() { infoField._visible = true; startLoading("cc11.swf");...
3
by: mfleet1973 | last post by:
Hi. Visual Studio 2003. Is there a way to disable another application's form's close button that is on the taskbar? Cheers. Mike.
2
by: Carla Simeoni | last post by:
Assume I have an open Form. Then I click the "normal" window "X" icon (=Close button). How do I assign a function in Form.cs to this event ? In other words if this Form/window is closed I want to...
2
by: holmes86 | last post by:
hi,everyone I have a GTK window,when click "close window" ,I want to show a verify dialog that whether verify really quit or not.so I used a MesssageDialog for verify quit.But when I clicked the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.