Revision: 35106
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 2, 2010 18:02 by nonsalant
Initial Code
$("#content a[href^='http://']").attr('target','_blank');
Initial URL
Initial Description
This jQuery code should make all external links from the #content div open in a new window.
Initial Title
External links open in new window
Initial Tags
jquery
Initial Language
JavaScript