Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeromeetienne/jquery-qrcode
qrcode generation standalone (doesn't depend on external services)
https://github.com/jeromeetienne/jquery-qrcode
Last synced: 2 days ago
JSON representation
qrcode generation standalone (doesn't depend on external services)
- Host: GitHub
- URL: https://github.com/jeromeetienne/jquery-qrcode
- Owner: jeromeetienne
- License: mit
- Created: 2011-04-07T06:03:03.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-12-22T20:46:11.000Z (12 months ago)
- Last Synced: 2024-12-04T12:05:08.635Z (9 days ago)
- Language: JavaScript
- Homepage: http://blog.jetienne.com/blog/2011/04/07/jquery-qrcode/
- Size: 40 KB
- Stars: 4,846
- Watchers: 250
- Forks: 2,500
- Open Issues: 90
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
- awesome-canvas - jquery-qrcode - qrcode generation standalone (doesn't depend on external services). ![](https://img.shields.io/github/stars/jeromeetienne/jquery-qrcode?style=social) ![](https://img.shields.io/github/forks/jeromeetienne/jquery-qrcode?style=social) (Libraries / QR code)
- awesome - jeromeetienne / jquery-qrcode
- favorite-link - 独立的 qrcode 生成 (不依赖于外部服务)。
README
# jquery.qrcode.js
jquery.qrcode.js
is *jquery plugin for a pure browser qrcode generation*.
It allow you to easily add qrcode to your webpages.
It is standalone, less than 4k after minify+gzip, no image download.
It doesnt rely on external services which go on and off, or add latency while loading.
It is based on a library
which build qrcode in various language. jquery.qrcode.js wraps
it to make it easy to include in your own code.Show, don't tell, here is a example
## How to Use It
Let me walk you thru it. First include it in your webpage with the usual script tag
Then create a DOM element which gonna contains the generated qrcode image. Lets say
a div
Then you add the *qrcode* in this container by
jquery('#qrcode').qrcode("this plugin is great");
This is it. see it live.
You can set the height and width of the generated qrcode:
jquery('#qrcode').qrcode({width: 64,height: 64,text: "size doesn't matter"});
## Conclusion
jquery.qrcode.js is available on github
here
under MIT license.
If you hit bugs, fill issues on github.
Feel free to fork, modify and have fun with it :)