Kashub's Code Barn - "Generating QR code from current site location"

podświetlone jako oracle8 (dodał(a) kashub @ 2011-08-17 08:48:20)

Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
        // USE CURRENT location AS data
        var chl = NEW String(document.location);       
        pos = chl.indexOf('#',0);
        IF (pos >= 0) {
            chl = chl.SUBSTR(0,pos);
        }   
             chl  = escape(chl); // escaped data
        var chs  = '150x150'; // SIZE: The largest possible area FOR ALL charts except maps IS 300,000 pixels. AS the maximum height OR width IS 1000 pixels, examples OF maximum sizes are 1000x300, 300x1000, 600x500, 500x600, 800x375, AND 375x800.
        var choe = 'UTF-8'; // Charset: Shift_JIS, UTF-8, OR ISO-8859-1
        var chld = 'L'; // L allows 7% OF a QR code TO be restored, M allows 15%, Q allows 25%, H allows 30%
        var margin = 4; // margin IN ROWS/columns
 
        document.WRITE(unescape('%3Cimg src="http://chart.apis.google.com/chart?chs='+chs+'&cht=qr&chl='+chl+'&choe='+choe+'&chld='+chld+'|'+margin+'" alt="QR Code" /%3E'));
 
| Suplementy Prozdrowotne I Na Kondycję | | Perfumy męskie | | Sklep sportowy | | biustonosze sportowe sklep | | karma dla psa - sklep | | tiaki wędka dla kota ważka - sklep | | Darmowe Blogi | | Gdzie przenieść blog za darmo? | | Best Fully Automatic Coffee Machines UK 2025 | | Wigs shop UK |