Hi Tat,

You do it via JavaScript. For example:

<a href="http://mysite.com"; onclick="window.open(this.href); return false;" 
onkeypress="window.open(this.href); return false;">....</a>

This is the most accessible way to do this. If the user agent does not support 
JavaScript or it is disabled, the link will open in the same window.

Regards,
-Vlad
http://xstandard.com
Standards-compliant XHTML WYSIWYG editor


Tatham Oddie wrote:
> All,
>
>
>
> I’m trying to have a link open in a new window (like I’ve done a million
> times)… however the validator doesn’t like this.
>
>
>
> If we don’t have the target attribute how are we supposed to do it now?
> Or aren’t we supposed to do it – and leave it up to the use agent?
>
>
>
>
>     *This page is **not** Valid XHTML 1.1
>     <http://www.w3.org/TR/2001/REC-xhtml11-20010531/>!*
>
> Below are the results of attempting to parse this document with an SGML
> parser.
>
> 1.      //Line 121, column 76//: there is no attribute "target"
>
> |.../" title="Australian Alpine Club" target=|**"**|_blank">|
>
>
>
>
>
> Tat
>
>
>
>
>


******************************************************
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