Get on SourceForge

QR Code Generator


Cloud Print
How I can use js library
Close
             
             
             
             
             /**
              * Example use methods javascript to get QR Code
             **/
               function init(){
                    // Interface to add select to set dimensions
                    qrgchart.standardimQR("dimensionqr");
                    
                    // interface QR Code to Google Cloud Print 
                    function printQRCode(){
						qrgchart.printgcp("myQRCode" + new Date(), qrimage.src);
					}
                    // Interface to get QR Code. 
                    /** Set rights dimensions: 
                     * 50, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 400, 425, 450, 475, 500
                    **/
                    qrgchart.getQRCode("containerqr", "300", "300", "http://google.com"); 
                    // interface to get tag img of QR Code
                    qrgchart.getQRimg("getcode", "containerqr")
                    document.getElementById("containerqr").style.textAlign = 'center'; 
                  }
                  
                function shareQRemail(){
                    // Interface to share QR Code via email
                    qrgchart.shareQRimg("containerqr");
                  }
                  function createBs() {
                      // Function to share image to social networks
                      var idDiv = "sharebtns";
                      qrgchart.twitterBtn(idDiv);
                      qrgchart.googleplusBtn(idDiv);
                      qrgchart.pinBtn(idDiv);
                  }
                 document.addEventListener("DOMContentLoaded", init, false); 
                 document.getElementById("sharechart").addEventListener("click", shareQRemail, false); 
           
My Apps On Google Play
Web Mobile App by UlmDesign