Re: No Frames
by "howardm" <howardm(at)achilles.net>
|
Date: |
Sun, 29 Apr 2001 07:42:53 -0400 |
To: |
"Peter-Paul Koch" <gassinaumasis(at)hotmail.com>, <thewolves(at)bigfoot.com> |
Cc: |
<hwg-techniques(at)hwg.org>, <lcoats(at)gte.net> |
References: |
hotmail |
|
todo: View
Thread,
Original
|
|
Thanks ppk,
It works fine and also seems to cover Larry's problem too.
Before it closes the previous page it pops up a security message. In both IE
and Netscape it asks whether you want to close the previous page.
Howard
----- Original Message -----
From: Peter-Paul Koch <gassinaumasis(at)hotmail.com>
To: <thewolves(at)bigfoot.com>; <howardm(at)achilles.net>
Cc: <hwg-techniques(at)hwg.org>
Sent: Sunday, April 29, 2001 3:59 AM
Subject: Re: No Frames
>
>
> > > Is there anything I can do when someone links to my site putting me in
a
> > "new" window, to close the previous website and be the only window open
> >as if I was a regular link?
>
> >I hope it's not possible. If it is possible, I hope it doesn't work when
> >someone right-clicks and chooses "open in new window". I use that method
a
> >lot, and if the window I clicked from disappeared, I'd be quite angry.
>
> I was wrong in my last mail,
>
> if (opener)
> opener.close()
>
> also works with a TARGET="_blank" link. However, it does not work when
> opening a frame in a new window by right-click.
>
> ppk
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA