WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: popup windows

for

From: Andrew Kirkpatrick
Date: Feb 20, 2004 9:44AM



> You should use the pop up address as the url - incase
> javascript is turned off.
>
> <a href="popup.html"
> onclick="javascript:NewWindow('popup.html','popup',300,400,1);return
> false;">link text</a>

Right. My bad. The href and link inside the javascript call need to be the
same. This points to the utility of Tim's comment about using this.href,
since the issue in my code snippet was created by changing one value but not
the other.
AWK



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/