Widget:NewWindowLinks

/* <![CDATA[ */ $(function { if (typeof weNewWindowLinks === 'undefined') {    weNewWindowLinks = true;    $('.newwindowlinks a.external').addClass('newwindowlinks').attr('target', '_blank').attr('title', function(i, val) { return val + ' (opens in a new window)';});  } }); /* ]]> */

Example:   produces a link that will open in a new window: OER Foundation