- From: Jim Ley <jim.ley@gmail.com>
- Date: Sun, 21 Nov 2004 20:34:10 +0000
- To: w3c-wai-gl@w3.org
On Sun, 21 Nov 2004 15:01:50 -0000, Gez Lemon <gl@juicystudio.com> wrote:
>
> > There is no way to tell if a window has been successfully opened and
> > the content available to the user, hence there are no scenarios in
> > which it is possible to stop the navigation - since there's no need
> > to, as the original script works, we don't have a problem.
>
> But we do have a problem; the target attribute is not legal in HTML 4.01
> Strict, and XHTML 1.0 Strict. Take the target attribute out, and you need to
> add this.href (as James suggested).
but this can be easily rectified by adding the target in the onclick too.
onclick="this.target='chicken';window.open('','chicken')"
rather than in the mark-up.
Jim.
Received on Sunday, 21 November 2004 20:34:10 UTC