QRCode.js is a really simple javascript library that has the browser create the QR code itself (there is no image file created at the server)

Download library

http://davidshimjs.github.io/qrcodejs/

or

https://github.com/davidshimjs/qrcodejs

Upload the file “qrcode.min.js” to your server (only file required).

If your site doesn’t have jquery already then you’ll also need “jquery.min.js” (not required for WordPress sites for instance)

Creating a QR Code

  <div id="qrcode" style="width:160px; height:160px; margin-top:10px;"></div>

  <!--<script type="text/javascript" src="/myjavascriptfiles/jquery.min.js"></script>-->
  <script type="text/javascript" src="/myjavascriptfiles/qrcode.min.js""></script>

  <script type="text/javascript">
    var qrcode = new QRCode(document.getElementById("qrcode"), {
      width : 160,
      height : 160
    });


    qrcode.makeCode('qrcode.makeCode('http://mydomain.com/myfile');');    
  </script>

QR Code text field options

SMS QR Codes

Example: ‘SMSTO:+112345678:Hello this is the SMS message to send!’

http://goqr.me/qr-codes/type-qr-sms.html

UK Electronic Designer
USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published.