Skip to content

jquery utility methods for adding and removing an overlay element over another element on the page

License

Notifications You must be signed in to change notification settings

uplift/jquery-mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Mask

Two simple jquery utility methods for adding and removing an overlay element over another element on the page.

Usage

Add plugin file to your page and call the follwing api commands.

To add a mask over an element(s)

$( ".my-selector" ).mask( [options] );

To remove a mask from an element(s)

$( ".my-selector" ).unmask();

Options

  • opacity - The transparency of the overlay (Default is 0.8)
  • backgroundColour - The backgrond colour of the overlay (Default is #ccc)
  • zIndex - The z-index of the overlay (Default is 9999)

Roadmap

  • Tests

License

Licensed under the MIT license.

About

jquery utility methods for adding and removing an overlay element over another element on the page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published