-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery_script.js
87 lines (81 loc) · 7.56 KB
/
gallery_script.js
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
function r1(){
var r1=document.createElement("img");
r1.id="enlargePhoto";
r1.src ="gallery/r1.jpeg";
r1.width="400";
r1.height="400";
var locationName=document.createElement("div");
locationName.id="name";
locationName.innerHTML="BETTER BREAKFAST EGGS";
document.getElementById("descriptionAndImageArea").appendChild(locationName);
document.getElementById("descriptionAndImageArea").appendChild(r1);
document.getElementById("descriptionAndImageArea").innerHTML+="<p>Protein and nutrient-packed enjoyed by millions. While the yolk hosts strong nutritional value, to lower unnecessary fat content, Bailey suggests limiting yolks, depending on how many eggs you normally consume.I make the conscious choice to only use one egg yolk in order to eliminate unnecessary fat intake from eating eight egg yolks, he says.Opting for organic, free-range eggs is also a way to up your egg health. Supporting local farmers is a great way to boost your morning nutrients while supporting your community. When cooking the eggs, try using cooking spray instead of butter, to once again avoid excess fats.</p>"
}
function r2(){
var r2=document.createElement("img");
r2.id="enlargePhoto";
r2.src="gallery/r2.jpeg";
r2.width="400";
r2.height="400";
var locationName=document.createElement("div");
locationName.id="name";
locationName.innerHTML="BETTER BREAKFAST OATMEAL";
document.getElementById("descriptionAndImageArea").appendChild(locationName);
document.getElementById("descriptionAndImageArea").appendChild(r2);
document.getElementById("descriptionAndImageArea").innerHTML+="<p>Those ready-made oats packed with sugar may taste delicious, but are probably not the best choice if you've got fitness goals to achieve (and you probably already know this. Bailey recommends eating traditional, unflavored oats topped with a small amount of brown sugar and a very light drizzle of maple syrup. This way you're giving your tastebuds a treat without overdoing the sugar content.A bowl of plain oats is a blank slate and there are many clean toppings at your service. Berries, nuts, nut butter, and spices like cinnamon and nutmeg make for a flavorful bowl. “Oats are a complex carb that will keep you full longer and your body absorbs more nutrients from complex carbohydrates, Bailey says. So, build your bowl with your favorite toppings and you're good to go!</p>"
}
function r3(){
var r3=document.createElement("img");
r3.id="enlargePhoto";
r3.src="gallery/r3.jpg";
r3.width="400";
r3.height="400";
var locationName=document.createElement("div");
locationName.id="name";
locationName.innerHTML="HOW TO TAKE ADVANTAGE OF YOUR BODY'S POTENTIAL DURING A FAST.";
document.getElementById("descriptionAndImageArea").appendChild(locationName);
document.getElementById("descriptionAndImageArea").appendChild(r3);
document.getElementById("descriptionAndImageArea").innerHTML+="<p>As science continues to investigate the role that fasting plays on healing our bodies and balancing our bodyweight, it seems ever more likely that putting a timed restriction on our calorie intake has the potential to lower blood pressure and protect us against the aging process. But, with so many online “authorities” touting differing eating windows and methods of fasting, how long should we really aim to be fasting for, and when is the best time of the day to eat? Plus, is it safe to fast as we get older? We talked to Steve Hendricks, author of “The Oldest Cure in the World: Adventures in the Art and Science of Fasting to get his take.</p>"
}
function r4(){
var r4=document.createElement("img");
r4.id="enlargePhoto";
r4.src="gallery/r4.jpg";
r4.width="400";
r4.height="400";
var locationName=document.createElement("div");
locationName.id="name";
locationName.innerHTML="BETTER BREAKFAST PROTEIN ";
document.getElementById("descriptionAndImageArea").appendChild(locationName);
document.getElementById("descriptionAndImageArea").appendChild(r4);
document.getElementById("descriptionAndImageArea").innerHTML+="<p>The fantastic thing about protein shakes and smoothies is the amount of nutrients like antioxidants, vitamins, and minerals you can add to one glass. Bailey's morning protein shake normally includes fruits and veggies which can lack in many diets.</p>"
}
function r5(){
var r5=document.createElement("img");
r5.id="enlargePhoto";
r5.src="gallery/r5.jpeg";
r5.width="400";
r5.height="400";
var locationName=document.createElement("div");
locationName.id="name";
locationName.innerHTML="THIS IS A GREAT MEAL PREP IDEA FOR THOSE EASTER LEFTOVERS.";
document.getElementById("descriptionAndImageArea").appendChild(locationName);
document.getElementById("descriptionAndImageArea").appendChild(r5);
document.getElementById("descriptionAndImageArea").innerHTML+="<p>Instead of calorie dense dishes though, I try to lighten some classic Southern recipes to give my own lean, healthful spin. I don't sacrifice taste with my recipes though! Healthy doesn't need to be boring. So, whatever I bring to a family gathering not only tastes good but is also good for you, and that's something to look forward to! The paella is a medley of different flavors and ingredients, sort of like a family get together where there's lots of different personalities at the table but we create an unbreakable bond and endless cherished memories as a whole.</p>"
}
function r6(){
var r6=document.createElement("img");
r6.id="enlargePhoto";
r6.src="gallery/r6.jpg";
r6.width="400";
r6.height="400";
var locationName=document.createElement("div");
locationName.id="name";
locationName.innerHTML="THIS CHEF AND RECIPE DEVELOPER SHOWS YOU HOW TO HEALTHIFY YOUR HOT DOG.";
document.getElementById("descriptionAndImageArea").appendChild(locationName);
document.getElementById("descriptionAndImageArea").appendChild(r6);
document.getElementById("descriptionAndImageArea").innerHTML+="<p>National Hot Dog Day or not, this classic summertime favorite is a staple at BBQs, beaches, and of course, baseball games. For many Americans, it's hard to imagine a summer without the flavor-packed frank, grilled to perfection. With that, Americans spent over $7 billion on hot dogs and sausages in U.S. supermarkets in 2021. Raise your hand if you contributed to that! Although you may want to throw down like Joey Chestnut for the rest of the summer, let’s be frank: Hot dogs aren’t the healthiest pick around. The good news, however: There are a handful of ways to take your dog from not so clean, to lean and mean. Here, Janine Nyquist, chef, food stylist, and recipe developer who has worked with many leading industry professionals such as Scott Conant, Jonathan Waxman, and Geoffrey Zakarian, breaks down how you can make a healthy hot dog step-by-step.</p>"
}
function removeContent(){
document.getElementById("descriptionAndImageArea").innerHTML="";
}