/ Published in: JavaScript
This jQuery code should make all external links from the #content div open in a new window.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("#content a[href^='http://']").attr('target','_blank');