Skip to content

jmisasa/coloralpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jQuery ColorAlpha plugin

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.

Example

Requirements

  • jQuery 1.* (?)

API

jQuery(document).ready(function() {
  jQuery('img').colorAlpha({
    /* layer background color */
    color    : '#d9d9d9', 
    /* milliseconds */
    duration : 100, 
    /* percentage */
    opacity  : 70
  });
});

Disclaimer

It hasn't been tested thoroughly. It seems to work on the latest versions of most common browsers, though.

About

jQuery ColorAlpha plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors