473,396 Members | 2,030 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,396 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 7519
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.