Vitamin C - A key nutrient that the body needs to fight infection, heal wounds, and keep tissues healthy
- Corn (some)
- Cabbage (good)
- Pumpkins (good)
- Sweet Potato (good)
- Red Capsicum (very high)
- Beans (rich)
- Cauliflower (excellent)
- Spinach (excellent)
- Broccoli (several day's supply)
- Peas (excellent)
- Potato (excellent)
Dietary fibre - Essential for maintaining a healthy digestive system
- Pumpkins (some)
- Potato (some)
- Sweet Potato (some)
- Carrots (some)
- Cabbage (good)
- Cauliflower (good)
- Broccoli (good)
- Eggplant (good)
- Beans (good)
- Peas (best)
- Spinach (high)
- Corn (excellent)
Folate - a vitamin in the B-vitamin family that helps cells to mature and is needed before and after pregnancy to prevent birth defects.
- Cauliflower (some)
- Broccoli (good)
- Beans (good)
- younger carrots (more)
- Spinach (excellent)
- Corn (excellent)
Carbohydrate - a major source of energy in the diet.
- Peas (some)
- Corn (good)
- Potato (good)
Niacin - A form of vitamin B that raises the amount of HDL ("good") cholesterol in the blood
- Pumpkins (some)
- Peas (some)
- Corn (some)
Beta carotene - helps maintain smooth, soft disease-free skin
- Broccoli (good)
- Corn (some)
- Sweet Potato (rich)
- Red Capsicum (rich)
- Cabbage (excelent)
- Pumpkins (excellent)
- Spinach (excellent)
- Beans (excellent)
- Carrots (excellent)
Potassium - require this when we lose lots of body fluid
- Potato (some)
- Broccoli (good)
- edible-podded peas (good)
- Corn (excellent)
Iron - the oxygen-carrying component of the blood
- Peas (some)
- Broccoli (good)
Friday, March 28, 2008
What fruits contain...
Vitamin C - a key nutrient that the body needs to fight infection, heal wounds, and keep tissues healthy
- Grapes (some)
- Plums (moderate)
- Apple (good)
- Strawberries (good)
- Cherrires (good)
- Watermelon (good)
- Banana (lots)
- Rockmelon (lots)
- Mandarins (high)
- Lemons (excellent)
- Pineapple (excellent)
- Mango (excellent)
- Orange (excellent)
Dietary fibre - Essential for maintaining a healthy digestive system
- Grapes (some)
- Mango (some)
- Plums (moderate)
- Apple (good)
- Banana (good)
- Pineapple (good)
- Lemons (good)
- Mandarins (good)
- Cherrires (good)
- Orange (good)
- Pear (good)
- Watermelon (good)
Antioxidants - a vitamin or nutrient that may help prevent damage to the heart, arteries, and other tissues
- Apple
Folate - a vitamin in the B-vitamin family that helps cells to mature and is needed before and after pregnancy to prevent birth defects.
- Strawberrirs (some)
Carbohydrate - a major source of energy in the diet.
- Banana
vitamin B6 - a key nutrient that the body needs to break down proteins, carbohydrates, and fats in food for healthy blood, skin and nerves
- Banana (good)
beta carotene - helps maintain smooth, soft disease-free skin and gets converted to Vitamin A
- Orange (good)
- Watermelon (lots)
- Rockmelon (excellent)
- Mango (excellent)
Potassium - require this when we lose lots of body fluid
- Pear (low)
- Grapes (adequate)
- Banana (rich)
- Grapes (some)
- Plums (moderate)
- Apple (good)
- Strawberries (good)
- Cherrires (good)
- Watermelon (good)
- Banana (lots)
- Rockmelon (lots)
- Mandarins (high)
- Lemons (excellent)
- Pineapple (excellent)
- Mango (excellent)
- Orange (excellent)
Dietary fibre - Essential for maintaining a healthy digestive system
- Grapes (some)
- Mango (some)
- Plums (moderate)
- Apple (good)
- Banana (good)
- Pineapple (good)
- Lemons (good)
- Mandarins (good)
- Cherrires (good)
- Orange (good)
- Pear (good)
- Watermelon (good)
Antioxidants - a vitamin or nutrient that may help prevent damage to the heart, arteries, and other tissues
- Apple
Folate - a vitamin in the B-vitamin family that helps cells to mature and is needed before and after pregnancy to prevent birth defects.
- Strawberrirs (some)
Carbohydrate - a major source of energy in the diet.
- Banana
vitamin B6 - a key nutrient that the body needs to break down proteins, carbohydrates, and fats in food for healthy blood, skin and nerves
- Banana (good)
beta carotene - helps maintain smooth, soft disease-free skin and gets converted to Vitamin A
- Orange (good)
- Watermelon (lots)
- Rockmelon (excellent)
- Mango (excellent)
Potassium - require this when we lose lots of body fluid
- Pear (low)
- Grapes (adequate)
- Banana (rich)
Tuesday, March 25, 2008
Select or Deselect a list of checkboxes
We may have a situation where we have a number of checkboxes generated dynamically and we need to either select them ALL or deselect them all at the same time
We can handle this in javascript as shown below
function setAllChecked(che)
{
cur = document.getElementsByName("checkBoxSelectAll");
if (che.checked)
{
for (i = 0; i < cur.length; i++)
{
cur[i].checked = true;
}
}
else
{
for (i = 0; i < cur.length; i++)
{
cur[i].checked = false;
}
}
}
<table cellpadding="2" cellspacing="2">
<th>
<input type=checkbox name="allSelect" onclick="setAllChecked(this)">
Select All
</th>
<nested:iterate property="records">
<tr>
<td>
<nested:checkbox property="select" styleId="checkBoxSelectAll" />
</td>
<td class="personName">
<nested:hidden property="personName"/>
<nested:write property="personName"/>
</td>
</tr>
</nested:iterate>
</table>
We can handle this in javascript as shown below
function setAllChecked(che)
{
cur = document.getElementsByName("checkBoxSelectAll");
if (che.checked)
{
for (i = 0; i < cur.length; i++)
{
cur[i].checked = true;
}
}
else
{
for (i = 0; i < cur.length; i++)
{
cur[i].checked = false;
}
}
}
<table cellpadding="2" cellspacing="2">
<th>
<input type=checkbox name="allSelect" onclick="setAllChecked(this)">
Select All
</th>
<nested:iterate property="records">
<tr>
<td>
<nested:checkbox property="select" styleId="checkBoxSelectAll" />
</td>
<td class="personName">
<nested:hidden property="personName"/>
<nested:write property="personName"/>
</td>
</tr>
</nested:iterate>
</table>
Wednesday, March 19, 2008
Scrollable table
We can add scrollbars to an html table by simply adding the below line of code to the table
<div style="border:1px solid; width:300px; height:400px; overflow:auto;">
Example
<div style="border:1px solid; width:300px; height:400px; overflow:auto;">
<table>
<tr>
<td>Data 1</td>
</tr>
<tr>
<td>Data 2</td>
</tr>
<tr>
<td>Data 3</td>
</tr>
</table>
</div>
The "height" attribute is very important in order for scrollbars to appear
<div style="border:1px solid; width:300px; height:400px; overflow:auto;">
Example
<div style="border:1px solid; width:300px; height:400px; overflow:auto;">
<table>
<tr>
<td>Data 1</td>
</tr>
<tr>
<td>Data 2</td>
</tr>
<tr>
<td>Data 3</td>
</tr>
</table>
</div>
The "height" attribute is very important in order for scrollbars to appear
Subscribe to:
Posts (Atom)