Re: new browser window

by "Steven Antonio" <santonio(at)delanet.com>

 Date:  Thu, 20 Jul 2000 01:22:36 -0400
 To:  "HTML Writers' Guild" <hwg-basics(at)hwg.org>
 References:  aol
  todo: View Thread, Original
> > If you want a seperate window to open, use TARGET="_blank", which means
> >  closing the window to go back. Otherwise, use TARGET="_top" which will
> have
> >  to use the back button to get back.
>
> Question:  can't you just use  TARGET="new"  ?

It is interesting.  The HTML specification states that the value (or name)
"_blank" has special meaning and is reserved for loading a designated
document in a new unnamed window.  In this case, the designated document is
the URL in the opening tag of the anchor element.  However, all the browsers
I tested this in (NN 2.02- 4.08, IE 4.0- 5.01) seem to interpret ANY
previously undefined target name as "_blank".  In other words, if you do not
already have a frame labeled "TheGuild", <.a href="document.html"
target="_blank"> and <.a href="document.html" target="TheGuild"> will both
produce the same result.  They will both load "document.html" into a new
window named with whatever value is within the title element of
"document.html".

As for opening a new window in the first place.  I guess if it is a link to
somewhere off your site it may be a good idea.  The only real negative I can
see is if your visitor has their browser window maximized, they may not
realized a new window was opened.  This could lead to confusion and leave
them wondering why their "Back" button no longer works.

Steve

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