W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2003

Re: RE: opening new windows

From: David Woolley <david@djwhome.demon.co.uk>
Date: Fri, 11 Jul 2003 23:46:00 +0100 (BST)
Message-Id: <200307112246.h6BMk0h01987@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org

> <a href="test.htm" onclick="window.open(this.href, 'example', 'height=200, width=400, top=100, left=100, toolbar=no, menubar=yes, location=no, resizable=yes, scrollbars=no, status=no'); return false;">example</a>
> 

I'd expect this not to work in any scripting enabled browser which has
popups disabled as the return false is not conditional on the popup 
succeeding.  

I believe that return false for this purpose wasn't in the original
NS JavaScript, although it is probably fairly universal these days.

This may fail on a pure W3C DOM1 implementation, as most of the parameters
are undefined.

One of the problems with such popups under IE is that shellexecute will
use any available browser window, including ones with critical controls
disabled.
Received on Saturday, 12 July 2003 04:59:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:10 GMT