a) DOM - target is still present in DOM, so you can make it via this.target, via onclick or behavior, see below...
b) onclick="return !window.open(this.href)" - ugly, functional
c) behavior, using eg. rel="external" and adding the behavior (window.open or this.target) via JS - more info on sitepoint.com


The quick summary is that opening windows shouldn't be handled by the document itself. However, client scripting is suitable for it, so when it's really neccessary, JS can do the job. In many ways.

--
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to