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