Add a favicon near external links with jQuery

External links should always be marked distinctly in order to see them easily. First I thought adding a CSS class to all a[href^=http] will be more then fine. After that I got the better idea of using the favicon.ico of the external site, if it is available of course.

1 UPs vs 1 DOWNs

Tags: jquery favicon

Submitted by: JDStraughan Submitted on: May 4, 2009

Source:  http://blog.liviuholhos.com/javascript/add-a-favicon-near-external-links-with-jquery?commented=1

Comments:


This Tut has no comments. Be the first to add your two cents!

Login to post comments.

Popular Tut Tags

TUTlist on twitter

For all the newest TUTs, follow @tutlist

King Tuts

NeilWilston (356 Tuts)
girish (232 Tuts)
kumaraman (203 Tuts)
showkatahmad (160 Tuts)
deepti89 (147 Tuts)

TUTmark

Drag TUTmark to your bookmarks
to begin using our bookmarklet.

Don't know how to use a bookmarklet?
Check out this tutorial.

TUTlist News Feeds

Home Page (RSS and ATOM)
New TUTS (RSS and ATOM)
Subscribe by Email

Advertise HERE!

To learn how to get your ad here.
CONTACT US TODAY!