Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 jquery.mask.js
Octocat-spinner-32 package.json
README.md

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.

Something went wrong with that request. Please try again.