W3C home > Mailing lists > Public > www-html@w3.org > February 2002

Re: Target, or opening a new instance of UA with a link

From: Peter Sheerin <pete@petesguide.com>
Date: Mon, 25 Feb 2002 14:26:06 -0800
Message-ID: <005c01c1be4b$6bbf5350$8810960a@cadpkslaptop>
Cc: <www-html@w3.org>
> IMO, JS is by far the worst of all options. Not only is JS
> onmouseclick="window.open()" even more presentational than a
> target=_blank, it also has major security problems and is much harder to
> separate from other code.

Here's the way I found to overcome the problem with target. I used the
modular nature of XHTML 1.1 to create my own DTD that simply references the
official XHTML 1.1 DTD, and adds the Target module that is part of XHTML
1.1. This avoids the problems associated with using JavaScript, and still
lets the document validate while retaining all the other benefits of XHTML

I understand why some people hate multiple windows poping up, but there are
cases where I think it improves the user experience. Take a look at
zeldman.com, for example. If I'm reading his blog and come across a link
that I want to visit, i *like* the fact that his links open in a separate
window, allowing me to explore those sites in detail, and then easily return
to his blog when I'm ready.

<!DOCTYPE html PUBLIC "+//IDN PetesGuide//DTD XHTML 1.1 plus Target//EN"
Received on Monday, 25 February 2002 17:27:30 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 15 July 2018 06:07:48 UTC