If you are looking for a simple way to position a coloured semi-transparent layer over an img element (or a collection) this tiny plugin might come in handy.
- jQuery 1.* (?)
jQuery(document).ready(function() {
jQuery('img').colorAlpha({
/* layer background color */
color : '#d9d9d9',
/* milliseconds */
duration : 100,
/* percentage */
opacity : 70
});
});
It hasn't been tested thoroughly. It seems to work on the latest versions of most common browsers, though.