Adding class to external links


/ Published in: jQuery
Save to your folder(s)

This code appends a class of external to all all outbound links
It includes a fix for Safari which does not recognise internal links that use a different port

URL: http://www.learningjquery.com/2008/08/quick-tip-dynamically-add-an-icon-for-external-links

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.