Return to Snippet

Revision: 26436
at April 28, 2010 09:56 by markrocky


Initial Code
$('a[href^="http://"]').attr({ target: "_blank" }).addClass("external-link");

Initial URL

                                

Initial Description

                                

Initial Title
add class and target _blank to all external links

Initial Tags

                                

Initial Language
jQuery