|
-
Apr 26th, 2002, 11:25 PM
#1
Thread Starter
PowerPoster
Closing a window
I'm using
<a href="linktosomewhere" onClick="window.close">Close this window</a>
The problem with this is that this shows up a msgbox with Yes/No buttons asking the user if they want to close the window or not.
Is there anyway to turn this off?? Or another way around it???
-
Apr 27th, 2002, 08:27 AM
#2
Stuck in the 80s
Re: Closing a window
Originally posted by Pc_Madness
I'm using
<a href="linktosomewhere" onClick="window.close">Close this window</a>
The problem with this is that this shows up a msgbox with Yes/No buttons asking the user if they want to close the window or not.
Is there anyway to turn this off?? Or another way around it???
Sadly there is not. Unless you opened the browser through code or through your window, you cannot close it without alerting the user.
-
Apr 27th, 2002, 12:00 PM
#3
Lively Member
In a real browser there is no msgbox asking you yes|no,but in crap like IE there is.This is because you cannont close the main window,only windows that are openend trough window.open.
-
Apr 29th, 2002, 11:18 AM
#4
Stuck in the 80s
Originally posted by Barney Calhoun
but in crap like IE
-
Apr 29th, 2002, 11:42 AM
#5
PowerPoster
Originally posted by Barney Calhoun
In a real browser there is no msgbox asking you yes|no,but in crap like IE there is.
do you think perhaps there is a good reason IE will ask you if you want to allow a website to close other IE windows? 
That is a good thing, and IE is more of a "real" browser than any other right now so come off your high horse.
-
Apr 29th, 2002, 01:25 PM
#6
Stuck in the 80s
Originally posted by chrisjk
do you think perhaps there is a good reason IE will ask you if you want to allow a website to close other IE windows? 
That is a good thing, and IE is more of a "real" browser than any other right now so come off your high horse.
Exactly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|