Scratch.js is a standalone library which brings interactivity to your web site by permitting you to generate scratch playing cards on your guests.
Based mostly on HTML5, scratch.js generate canvas on the fly and is optimized for all fashionable browsers and has contact help for cellular gadgets. You need to use it to make scratch playing cards, coupons, promotionnal sport and even commercial.
- Contact help: works on IOS, Android, Home windows Cellphone
- Totally responsive
- Flash fallback: for the browsers which don’t help the HTML5 canvas tag
- Light-weight, with no exterior dependencies
- embrace working examples to keep away from ranging from scratch
- PSD file included
- Versatile and absolutely configurable
- Full documentation included
- Appropriate with all frameworks (Jquery, Mootools)
- Web Explorer 11+ (Web Explorer 9+ with Flash fallback)
- Firefox three.6+
- Chrome 2.zero+
- Safari 2.zero+
- Opera 9.zero+
Please word that my script really runs on older variations of Web Explorer (7+) however some options might not work on them.
The next gadgets are additionally supported:
- Iphone and Ipad (with IOS 6.1+)
- Home windows Cellphone (with Web Explorer Cell 10+)
- Android Cellphone (with Android four.1+)
Assist and Updates
When you discover any bug or consider a function I ought to add to my product, be happy to contact me from my profile web page, I’ll attempt to do an replace as quickly as potential.
All updates can be found free of charge, you ought to be knowledgeable by electronic mail when main updates are printed. If not go in your obtain web page on Codecanyon, there you may subscribe to be notified by electronic mail when an replace is on the market
12/03/2014 – Model 1.four
ADDED: Flash fallback for the browsers which do not help the html5 canvas tag FIXED: A scroll bug on Home windows Telephones FIXED: A bug the place the counter perform was triggered when the web page was loaded FIXED: A bug with the API restart perform
11/04/2014 – Model 1.31
FIXED: place bug affecting Chrome customers.
11/01/2014 – Model 1.three
ADDED: a primary API, the scratch playing cards can now be locked, restarted or cleaned off ADDED: The Cross-Origin Useful resource Sharing is now supported, decreasing bandwidth use. UPDATED: the general performances have been optimized up FIXED: the scratch card was partially redrawn after being resized FIXED: the scratch card wouldn't perform when an hexadecimal coloration was used FIXED: the coin cursor was seen on some Android gadgets FIXED: unusual behaviour if one of many container's mother and father had a CSS margin FIXED: corrected a bug which induced lags on Android gadgets
09/15/2014 – Model 1.2
ADDED: Scratch.js is now absolutely responsive ADDED: The scratch playing cards could also be resized now FIXED: Corrected a duplication bug that low finish computer customers might have encountered
09/01/2014 – Model 1.1
FIXED: Corrected some bugs that have been speficic to Android and IOS
08/20/2014 -Model 1.zero