$('#test1').nutritionLabel({ width : 380, showLegacyVersion : false, showUKVersion : true, showItemNameForUK : true, showDailySugars : true, valueServingWeightGrams : 77, dailyValueTotalFat : 70, //this should be 70 for the uk version dailyValueCarb : 260, //this should be 260 for the uk version dailyValueSugar : 90, //this should be 90 for the uk version textCalories : 'Energy', textTotalCarb : 'Carbohydrate', textFibers : 'Fibre', textSodium : 'Salt', showServingUnitQuantity : false, itemName : 'Bleu Cheese Dressing', ingredientList : 'Bleu Cheese Dressing', valueCalories : 450, valueTotalFat : 48, valueSatFat : 6, valueSodium : 780, valueTotalCarb : 3, valueFibers : 0, valueSugars : 3, valueProteins : 3 });
$('#test2').nutritionLabel({ width : 380, showLegacyVersion : false, showUKVersion : true, showItemNameForUK : true, showDailySugars : true, valueServingWeightGrams : 77, dailyValueTotalFat : 70, //this should be 70 for the uk version dailyValueCarb : 260, //this should be 260 for the uk version dailyValueSugar : 90, //this should be 90 for the uk version textCalories : 'Energy', textTotalCarb : 'Carbohydrate', textFibers : 'Fibre', textSodium : 'Salt', showItemName : false, ingredientList : 'Enriched Bleached Wheat Flour (Bleached Flour, Malted Barley Flour, Niacin, Iron, Thiamin Mononitrate, Riboflavin, Folic Acid), Sugar, Vegetable Oil (contains one or more of the following oils: Cottonseed Oil, Palm Oil, Soybean Oil), Water, Hydrogenated Vegetable Oil (Palm Kernel Oil, Palm Oil), High Fructose Corn Syrup, Cocoa Powder (Processed With Alkali), contains 2% or less of the following: Eggs, Nonfat Milk, Glycerin, Soy Flour, Corn Syrup Solids, Leavening (Sodium Acid Pyrophosphate, Baking Soda, Sodium Aluminum Phosphate), Preservatives (Potassium Sorbate, Sodium Propionate, Calcium Propionate), Salt, Distilled Monoglycerides, Dextrose, Food Starch-Modified (Corn and/or Wheat), Soy, Lecithin, Natural and Artificial Flavor, Mono- and Diglycerides, Spices, Tapioca Starch, Wheat Starch, Cellulose Gum, Guar Gum, Karaya Gum, colored with Extracts of Annatto and Turmeric, Artificial Color.', showCalories : false, showSatFat : false, showSodium : false, valueServingUnitQuantity : 2.3, valueServingSize : 6, valueServingSizeUnit : 'DONUTS', valueCalories : 400, valueTotalFat : 24, valueSatFat : 15, valueSodium : 430, valueTotalCarb : 44, valueSugars : 24, valueProteins : 4 });
$('#test3').nutritionLabel({ width : 380, hideTextboxArrows : true, showLegacyVersion : false, showUKVersion : true, showItemNameForUK : true, showDailySugars : true, valueServingWeightGrams : 77, dailyValueTotalFat : 70, //this should be 70 for the uk version dailyValueCarb : 260, //this should be 260 for the uk version dailyValueSugar : 90, //this should be 90 for the uk version textCalories : 'Energy', textTotalCarb : 'Carbohydrate', textFibers : 'Fibre', textSodium : 'Salt', showServingUnitQuantity : false, itemName : 'Bleu Cheese Dressing', ingredientList : 'Bleu Cheese Dressing', valueCalories : 450, valueTotalFat : 48, valueSatFat : 6, valueSodium : 780, valueTotalCarb : 3, valueFibers : 0, valueSugars : 3, valueProteins : 3 });
$('#test4').nutritionLabel({ width : 380, hideTextboxArrows : true, showLegacyVersion : false, showUKVersion : true, showItemNameForUK : true, showDailySugars : true, valueServingWeightGrams : 77, dailyValueTotalFat : 70, //this should be 70 for the uk version dailyValueCarb : 260, //this should be 260 for the uk version dailyValueSugar : 90, //this should be 90 for the uk version textCalories : 'Energy', textTotalCarb : 'Carbohydrate', textFibers : 'Fibre', textSodium : 'Salt', showItemName : false, ingredientList : 'Enriched Bleached Wheat Flour (Bleached Flour, Malted Barley Flour, Niacin, Iron, Thiamin Mononitrate, Riboflavin, Folic Acid), Sugar, Vegetable Oil (contains one or more of the following oils: Cottonseed Oil, Palm Oil, Soybean Oil), Water, Hydrogenated Vegetable Oil (Palm Kernel Oil, Palm Oil), High Fructose Corn Syrup, Cocoa Powder (Processed With Alkali), contains 2% or less of the following: Eggs, Nonfat Milk, Glycerin, Soy Flour, Corn Syrup Solids, Leavening (Sodium Acid Pyrophosphate, Baking Soda, Sodium Aluminum Phosphate), Preservatives (Potassium Sorbate, Sodium Propionate, Calcium Propionate), Salt, Distilled Monoglycerides, Dextrose, Food Starch-Modified (Corn and/or Wheat), Soy, Lecithin, Natural and Artificial Flavor, Mono- and Diglycerides, Spices, Tapioca Starch, Wheat Starch, Cellulose Gum, Guar Gum, Karaya Gum, colored with Extracts of Annatto and Turmeric, Artificial Color.', showCalories : false, showSatFat : false, showSodium : false, valueServingUnitQuantity : 2.3, valueServingSize : 6, valueServingSizeUnit : 'DONUTS', valueCalories : 400, valueTotalFat : 24, valueSatFat : 15, valueSodium : 430, valueTotalCarb : 44, valueSugars : 24, valueProteins : 4 });
$('#test5').nutritionLabel({ width : 380, showServingUnitQuantityTextbox : false, showLegacyVersion : false, showUKVersion : true, showItemNameForUK : true, showDailySugars : true, valueServingWeightGrams : 77, dailyValueTotalFat : 70, //this should be 70 for the uk version dailyValueCarb : 260, //this should be 260 for the uk version dailyValueSugar : 90, //this should be 90 for the uk version textCalories : 'Energy', textTotalCarb : 'Carbohydrate', textFibers : 'Fibre', textSodium : 'Salt', showServingUnitQuantity : false, itemName : 'Bleu Cheese Dressing', ingredientList : 'Bleu Cheese Dressing', valueCalories : 450, valueTotalFat : 48, valueSatFat : 6, valueSodium : 780, valueTotalCarb : 3, valueFibers : 0, valueSugars : 3, valueProteins : 3 });
$('#test6').nutritionLabel({ width : 380, showServingUnitQuantityTextbox : false, showLegacyVersion : false, showUKVersion : true, showItemNameForUK : true, showDailySugars : true, valueServingWeightGrams : 77, dailyValueTotalFat : 70, //this should be 70 for the uk version dailyValueCarb : 260, //this should be 260 for the uk version dailyValueSugar : 90, //this should be 90 for the uk version textCalories : 'Energy', textTotalCarb : 'Carbohydrate', textFibers : 'Fibre', textSodium : 'Salt', showItemName : false, ingredientList : 'Enriched Bleached Wheat Flour (Bleached Flour, Malted Barley Flour, Niacin, Iron, Thiamin Mononitrate, Riboflavin, Folic Acid), Sugar, Vegetable Oil (contains one or more of the following oils: Cottonseed Oil, Palm Oil, Soybean Oil), Water, Hydrogenated Vegetable Oil (Palm Kernel Oil, Palm Oil), High Fructose Corn Syrup, Cocoa Powder (Processed With Alkali), contains 2% or less of the following: Eggs, Nonfat Milk, Glycerin, Soy Flour, Corn Syrup Solids, Leavening (Sodium Acid Pyrophosphate, Baking Soda, Sodium Aluminum Phosphate), Preservatives (Potassium Sorbate, Sodium Propionate, Calcium Propionate), Salt, Distilled Monoglycerides, Dextrose, Food Starch-Modified (Corn and/or Wheat), Soy, Lecithin, Natural and Artificial Flavor, Mono- and Diglycerides, Spices, Tapioca Starch, Wheat Starch, Cellulose Gum, Guar Gum, Karaya Gum, colored with Extracts of Annatto and Turmeric, Artificial Color.', showCalories : false, showSatFat : false, showSodium : false, valueServingUnitQuantity : 2.3, valueServingSize : 6, valueServingSizeUnit : 'DONUTS', valueCalories : 400, valueTotalFat : 24, valueSatFat : 15, valueSodium : 430, valueTotalCarb : 44, valueSugars : 24, valueProteins : 4 });