Archive for November 27th, 2008

Adding a hint to indicate links are external

Thursday, November 27th, 2008

Good 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">'); });