WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Reason For Links Opening In New Window

for

From: Gareth Dart
Date: Jan 8, 2007 1:30AM


Makes sense. Never actually used it in this way since a) as discussed, new windows are best avoided in 99% of cases and b) any windows I've been opening from my markup have been opened via Javascript with rigidly delineated properties.

Cheers,

G

-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ]On Behalf Of Rimantas
Liubertas
Sent: Friday 5 January 2007 18:18
To: WebAIM Discussion List
Subject: Re: [WebAIM] Reason For Links Opening In New Window


> Except that I've just tested it and (in FF2 at least) target = "blank" (no underscore) _does_
> force a new window, which is not how I remembered it working. In any case, steer clear of
> both.

Let's say you have two links with target="blank" attribute. Clicking
on the first will open new
window named 'blank'. If you then click on the second link then
destination will be opened in the window created by the first click.
On the other hand, several links with target="_blank" will open yet
another new window on each click. That's the difference.


Regards,
Rimantas
--
http://rimantas.com/