473,486 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

closing the main browser with onclick?

OK - I know! This is supposedly "not nice"!

But, there are times, especially for internal web applications, where it may
be desired. And I have just that situation in several applications at
this time.

When the user clicks on an icon from the desktop it actually causes a
separate copy of Mozilla to be started along with its referenced
applications. This part of the process works just fine. But, its possible
to have more than one application open on the desktop at a time. And I am
certainly aware that clicking on the "X" will close the browser session,
but some of the users are running in kiosk mode (don't ask).

Therefore, it would be really nice if the "Quit" buttons which contain
onclick="close()" would do just that.

So, as I haven't been able to find anything that "might" supercede this
caution, does anyone have a method or trick that will allow this to work???

Thanks all who respond.

Bob
Dec 8 '06 #1
1 1342
ASM
bobmct a écrit :
OK - I know! This is supposedly "not nice"!
once upon a time ...
was a marvelous world where that worked in certain conditions
(and only in local : not on a server)
something like :

function closeMe() {
opener = self;
self.close();
}
but that does not more work with FF2


--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Dec 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
2844
by: Theo | last post by:
Question for the group The authentication system for the site Im working on seems to function properly and all is good. A session keeps track of everything and a cookie is used to accept or deny...
7
6976
by: ~John Hemans~ | last post by:
Hi, I'm using a popup window to show a series of pages. On the last page, I need to close the window using a graphical button, return to the main browser, and go to a new url. I saw a posting on...
4
2047
by: bbass | last post by:
thanks to all that replyied to my previous post with the following code in question: <a href="merc.htm" target="_new_merc" onfocusout=window.close class="left_link"> i understand that the...
4
410
by: Daniel Walzenbach | last post by:
Hi, does anybody know the JavaScript the guys at Microsoft used in MS CRM to prevent people from closing a browser window and asking them (on the client) what they really want to do? If you...
1
3016
by: buran | last post by:
Dear ASP.NET Programmers, I am developing an intranet application using ASP.NET. I want to add such a functionality that the application displays a pop-up box to confirm when the user tries to...
2
3794
by: sundar_s1210 | last post by:
I am doing a Shop Cart application In my asp.net application, i want to delete some records from database when user closes the browser without purchasing the product which is added to shop cart....
7
2136
by: wrytat | last post by:
Is there a way to check whether the user has confirmed all his items in a shopping cart when he is closing the browser? Then if he hasn't confirm the items, the system can prompt him to confirm the...
7
4402
by: Santel | last post by:
Hi, I would like to do some server side actions while closing the browser window. I tried with Page_Unload event, but it triggers while loading the page itself. Anyone please tell me is there...
4
1333
by: vinaypratap | last post by:
I am working on an application that is for online examination, I need to maintain exam info such that if unexpected closing of browser such as power failure etc, the exam will restart for the user...
0
7099
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
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6842
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
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5430
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,...
1
4864
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...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.