On 7 Mar 2007, at 11:52:39, Chris Price wrote:
One argument is that if the doctype does not allow the target attribute then you're just cheating by using javascript; in which case, getting the page to validate is little more than a trick.
I believe that argument only applies to the case where JavaScript is used to dynamically add the "target" attribute to the link, not when other methods are used to generate the popup, such as adding an "onclick" handler to the link. Such other methods are, in fact, the preferred way of generating popups, in that they remove the behavioural component from the markup layer, and don't rely on sneaking it into the DOM via the back door, as is the case with adding the "target" attribute to an otherwise valid DOM.
Regards, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************