forked from globalfoodbook/nutrition-facts-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (49 loc) · 1.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<link rel='stylesheet' type='text/css' media='screen' href='includes/assets/css/nutritionLabel.css'>
<style media="screen">
#nutrition-label-outer{
/*width:300px;
float: left;
min-height: 1px;
margin-left: 20px;*/
}
#nutrition-label{
/*width:300px;*/
}
</style>
</head>
<body>
<div id="nutrition-label-outer">
<div id="nutrition-label"> </div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="includes/assets/javascript/nutritionLabel.js"></script>
<script type="text/javascript">
// $('#nutrition-label').nutritionLabel();
$('#nutrition-label').nutritionLabel({
'showServingUnitQuantity' : false,
'itemName' : 'Bleu Cheese Dressing',
'ingredientList' : 'Bleu Cheese Dressing',
'showPolyFat' : false,
'showMonoFat' : false,
'valueCalories' : 450,
'valueFatCalories' : 430,
'valueTotalFat' : 48,
'valueSatFat' : 6,
'valueTransFat' : 0,
'valueCholesterol' : 30,
'valueSodium' : 780,
'valueTotalCarb' : 3,
'valueFibers' : 0,
'valueSugars' : 3,
'valueProteins' : 3,
'valueVitaminA' : 0,
'valueVitaminC' : 0,
'valueCalcium' : 0,
'valueIron' : 0
});
</script>
</body>
</html>