Created
February 2, 2009 03:09
-
-
Save mikedamage/56759 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add icons to external links: | |
// the ^= means "match if the string starts with this" | |
$('a[href^="http://"]').addClass("external"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment