Few days ago, I was linking to Wikipedia in my blog post, I wanted to have a Wikipedia icon next to that link, so readers would know where that link leads to without reading the URL. Or an icon for external link, that would look nice and reader would be aware that link would bring them to other website.
I wrote a jQuery plugin called Link Classifier partly for that purpose. Here is a screenshot of the plugin’s demo page:
The plugin adds some classes to the link elements and I use CSS to show icons from webfont.
Not really sure if this is practical or just pure fancy. I don’t use it because there is not a webfont has all the icons I need, always missing some websites that I frequently link to.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.