/ Published in: jQuery

This version add a special class to avoid external link icon in specify link
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('a[target=_blank]').not('.notarget').addClass('external'); // html markup <a target="_blank">I have the external (class) icon</a> <a target="_blank" class="notarget">I have not the external (class) icon</a>
Comments
