jquery Barcode Plugin Jquery-barcode use

Source: Internet
Author: User

Barcode Official Website:

Http://barcode-coder.com/en/barcode-jquery-plugin-201.html

The first parameter in the bar code is the barcode content

The second parameter in a barcode:

Ean8 ean13 std25 int25 code11 code39 code93 code128 (general merchandise scanning use) Codabar msi Datamatrix
<script src="./jquery-2.0.3.min.js"></script><script src="./jquery-barcode-last.min.js"></script><script>$ (function () {$ ("#bcTarget"). Barcode ("5693691811000083","code128", {output:'CSS',//Rendering Mode Css/bmp/svg/canvas//bgColor: ' #ff0000 ',//Barcode Background ColorColor'#00ff00',//Barcode ColorBarWidth:2,//Single bar widthBarheight: -,//individual bar code height//Modulesize:5,//Barcode Size//Posx:10,//Barcode coordinates x//Posy:5,//Barcode coordinates yAddquietzone:false  //whether to add white space (inner margin)        }); })</script><style type="Text/css">/*#bcTarget {width:400px;height:100px;}*/</style>"Bctarget"></div></body>

//parameter options may be used when applied  varBarcodesettings ={addquietzone:false,//whether to add white space (inner margin)BgColor:"#FFFFFF",//Barcode Background ColorColor"#000000",//Barcode ColorFontSize: A,//Barcode Font SizeMarginhri:5,//Barcode Font height from the center of the barcodeBarWidth:"1",//Single bar widthBarheight:" -"  //individual bar code height    };//parameter options in the Jquery-barcode plugin    /*defaultsettings: {barwidth:1, barheight:50, Modulesize:5, Showhri:true, Addquietzone:tr UE, MARGINHRI:5, BgColor: "#FFFFFF", Color: "#000000", Fontsize:10, Output: "CSS",//Rendering mode css/bmp/s Vg/canvas posx:0, posy:0}*/

Blog Original: http://www.wujiangwei.win/?p=79

jquery Barcode Plugin Jquery-barcode use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.