Skip to content

grizzly/jquery.qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

jQuery QR-Code-Plugin

Resources

Stars

Watchers

Forks

Packages

No packages published