Adding a hint to indicate links are external
Thursday, November 27th, 2008Good tip from -- >http://www.learningjquery.com/2008/08/quick-tip-dynamically-add-an-icon-for-external-links#more-103 $(document).ready(function() { $('#extlinks a').filter(function() { return this.hostname && this.hostname !== location.hostname; }).after(' <img src="/images/external.png" alt="external link">'); });