Re: Javascript close window

by "Andrew Angelopoulos" <aangelop(at)resqnet.com>

 Date:  Tue, 30 Jan 2001 09:47:21 -0500
 To:  "Dale" <dale(at)hiwaay.net>,
<hwg-basics(at)hwg.org>
 References:  dale
  todo: View Thread, Original
You can't. The browser wants the user's permission (no matter what the
Webmaster wants<wink>).

Andrew
----- Original Message -----
From: "Dale" <dale(at)hiwaay.net>
To: <hwg-basics(at)hwg.org>
Sent: Monday, January 29, 2001 1:13 AM
Subject: Javascript close window


> Hi,
>
> I have a site with this script on some of the pages:
>
> <P ALIGN=CENTER>
> <A HREF="javascript:window.close()"><font size=1>CLOSE THIS
> WINDOW</font></A>
> </P>
>
> When I click on the link, I get a pop-up window that says:
>
> "The webpage you are viewing is trying to close the window.
> Do you want to close this window?"
>
> How can I make this stop popping up???
>
> TIA,
> dale
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA