Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

brandoncordell/iconize

Repository files navigation

jquery.iconize.js

Iconize is a very lightweight (under 2kb packed or minified) jQuery plugin that adds a content specific icon to each link that matches the selector.

The icon added is based on the remote files extension.

Supported Extensions

jpg, jpeg, png, gif, bmp, svg, eps, mp3, wav, ogg, wma, m4a, mov, wmv, mp4, avi, mpg, fla, swf, doc, rtf, txt, xls, pdf, pps, ical, rss, atom, zip, rar, gzip, bzip, ace, tar, gz, exe, dmg, app, html, htm, css, js, php, phps, opml, vcard, vcf, xpi, ttf, and last but not least torrent.

Usage

Couldn't be easier to use...

$('a').iconize();

Demo

Coming soon

Special Thanks

Thanks to Alexander Kaiser for the inspiration for this plugin.

Also thank you to Famfamfam for their awesome icons.

About

A jQuery plugin to add icons to links based on the remote files extension

Resources

License

GPL-2.0, MIT licenses found

Licenses found

GPL-2.0
LICENSE-GPL
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published