Revision: 21575
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 15, 2009 17:34 by math89
Initial Code
$("a[@rel~='external']").click( function() { window.open( $(this).attr('href') ); return false; });
Initial URL
Initial Description
The target="blank" attribute is not valid XHTML 1.0 Strict. using jQuery, you can achieve the same functionality without having validation problems.
Initial Title
XHTML 1.0 Strict valid target="blank" attribute
Initial Tags
link
Initial Language
jQuery