Neal wrote:
On Fri, 28 May 2004 07:51:08 GMT, Lachlan Hunt
<la**********@iinet.net.au> wrote:
It's possible that CSS *may* be introducing this ability in the
future [1]. ...
Some of the properties are intended to *suggest* whether the
hyperlink should spawn a new window or tab, ...
[1] http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/
Eww. I wander what browsers without tabs will do. Will they open in same
window, or open in new window? Which iwould be desirable? Can't say I'm
nuts about this idea...
User agents, including those without support for tabs, or even support
for multiple windows do not have to support this module. The idea is to
reduce the use of those awful javascript
: or onclick="" links which
cannot be overridden easily by the user; or worse, not supported and
thus creating a dead link.
It would also formally define the presentation of, and a method for a
user to override the target attribute by creating a rule in the User's
or User Agent's style sheet.
eg.
a[target="_blank"] { target-name: root; }
which would always open a link like this:
<a href="..." target="_blank">...</a>
in the same window/tab rather than opening a new one.
--
Lachlan Hunt
http://www.lachy.id.au/