Got plenty of responses to this off list. Thanks everyone. Sorry for
going off topic.
Spell
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Spellacy,
Michael
Sent: Friday, May 18, 2007 12:24 PM
To: css-d@lists.css-discuss.org
Subject: [css-d] Quick
For example:
- HTML:
http://www.yahoo.com/"; rel="external">EXTERNAL LINK TO YAHOO!
http://www.aol.com/"; rel="external">EXTERNAL LINK TO AOL
http://www.google.com/"; rel="external">EXTERNAL LINK TO GOOGLE
- JQuery solution:
$('[EMAIL PROTECTED]"external"]').attr('target', '_blank');
or
$('[
Because Target is not part of the XHTML spec.
If you want something that is XHTML compliant, you need to use
JavaScript. Here is what I use to accomplish the same task works
on javascript enabled browsers or not.
http://www.google.com"; onclick="window.open
(this.href,'google','width=800
Hi All!
Not really a CSS question so forgive me, but why is target="_blank" not
valid when using XHTML Strict Doctype? Just curious.
Thanks!
Spell
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/cs