jQuery Plugin For Creating QR Codes On Your Website - ClassyQR
File Size: | 71.3 KB |
---|---|
Views Total: | 13689 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

ClassyQR is a very simple jQuery plugin that makes it easy to create QR Codes (Two-dimensional Barcode) from different kinds of data on your website or application.
How to use it:
1. Load the latest version of jQuery library from google CDN
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
2. Load the jQuery ClassyQR after jQuery library
<script type="text/javascript" src="js/jquery.classyqr.js"></script>
3. Create a container to embed the QR Code
<div class="qrcode" id="qr"> </div>
4. Call the plugin with options
<script> $(document).ready(function() { $('#qr').ClassyQR({ create: true, // signals the library to create the image tag inside the container div. type: 'text', // text/url/sms/email/call/locatithe text to encode in the QR. on/wifi/contact, default is TEXT text: 'Welcome to jQueryScript!' // the text to encode in the QR. }); }); </script>
This awesome jQuery plugin is developed by classpm. For more Advanced Usages, please check the demo page or visit the official website.