Images Scratch Card Plugin—jQuery Scratchie

Don’t support IE

This is a fully-customizable scratchcard plugin

Define a background image and an overlay image or color and clicking and click or just drag the mouse over the overlay to reveal the target image underneath!


// executes the plugin on the selected div
// the plugin accepts a multitude of parameters but can be executed with
// a minimal configuration
target : 'target',
img : 'prize.jpg',
imgHeight : 200, // target (prize) img height
imgWidth : 400, // target (prize) img width
title : 'Try your luck!',
fillImg : 'overlay.jpg',
requireMouseClick : false,
callback: function(){


Leave a comment