A CSS module that adds icons after hyperlinks depending on hyperlink targets extension or URI-scheme.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
icons_and_psd_sprite
README.markdown
hyperlink_icons.css
index.html
sprite.gif

README.markdown

Intro

This is a CSS "module" essentially consisting of an image (a sprite image) and a stylesheet for you to add nice little icons to the right of hyperlinks that lead to a file with a certain extension. Find examples in index.html. Source and sprite image are about 16kb uncompressed unminified.

Compatability

Tested successfully in Firefox, Camino, Safari, Opera & Internet Explorer 7 (6 doesn't work)

Installation

For production, simply use the hyperlink_icons.css as a stylesheet and make sure that it is referencing the sprite.gif image correctly. This should make links look like the examples in index.html