Previous Message
Next Message

if you can not target with xhtml strict

Sent by Gary Turner on 5 April 2005 17:05


Little Girl wrote:
> If you can not targer="_blank" with xhtml strict, how are you supposed to
> achieve the same result?

Use javascript.  The window.open() method is what you're looking for.

<a href="some.html" onclick= "window.open('some.html'); return 
false;">...</a>

cheers,

gary
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: