Wordpress version of Scratch card Effect
UPDATE 12/09/2012:New features added:
- Added responsive design
- updateOnFingerMove: new property to calculate % scratch done on touch devices
- Percentage revealed
- Auto reveal on completion of set % limit
- Callback functions for onComplete and onUpdate.
Updated the file to work with multiple elements at the same time and also updated how the data is to be supplied. Please re-download the files if you’re facing problems with multiple div elements
This is a JQuery plugin that simulates a scratch-off card effect using HTML5s canvas feature and implement it as a jQuery plugin for easy integration with your files.
You can use any image for both the fore-ground and back-ground.
You can set the size of reveal directly through the plugin options.