jQuery QR-Code-Plugin
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
.gitignore
.project
README.md
index.html
jquery.qrcode.js
qrcode.jquery.json

README.md

jQuery QR-Code-Plugin

Example usage

	$(document).ready(function() {
		$('#test').qrcode({
			'url' : 'http://jquery.com',
			'width' : 300,
			'height' : 300,
			'qrsize' : 100
		});
		
		// for facebook qr like buttons:
		
		$('#like').qrcode({
			'url' : 'https://www.facebook.com/GrizzlyGmbH',
			'width' : 300,
			'height' : 300,
			'qrsize' : 100
		});			
	});
	

This code will add a QR-Code to the div '#test'.

Settings

  • url String - users will be redirected to this URL when scanning the QR-Code
  • width Integer - image width in pixel
  • height Integer - image height in pixel
  • qrsize Integer - quality of the QR-Code in pixel

Demo

Will be added shortly.

License

http://opensource.org/licenses/MIT