Hi
here is my static page.
-------------------------
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div data-role="page" id="mainpage">
<div data-role="header">
<h1>Fruits</h1>
</div><!-- /header -->
<div>
<ul data-role="listview">
<li><a data-transition="slide" href="#Alligator">Alligator</a></li>
<li><a data-transition="slide" href="#buf">Buffolow</a></li>
<li><a data-transition="slide" href="#cat">Cat</a></li>
<li><a data-transition="slide" href="#dog">Dog</a></li>
<li><a data-transition="slide" href="#ele">Elephant</a></li>
</ul>
</div>
<div data-role="footer" data-position="fixed">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div><!-- /page -->
<div data-role="page" id="Alligator">
<div data-role="header">
<a href="#mainpage" data-role="button" data-transition="slide" data-direction="reverse" data-icon="Home">Home</a>
<h2>Welcome</h2>
</div>
<div role="main" class="ui-content">
<p>Alligator</p>
</div>
<div data-role="footer" data-position="fixed">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div>
<div data-role="page" id="buf">
<div data-role="header">
<a href="#mainpage" data-role="button" data-transition="slide" data-direction="reverse" data-icon="Home">Home</a>
<h2>Welcome</h2>
</div>
<div role="main" class="ui-content">
<p>Bufflow</p>
</div>
<div data-role="footer" data-position="fixed">
<h4>Page Footer</h4>
</div><!-- /footer --> </div>
<div data-role="page" id="cat">
<div data-role="header">
<a href="#mainpage" data-role="button" data-transition="slide" data-direction="reverse" data-icon="Home">Home</a>
<h2>Welcome</h2>
</div>
<div role="main" class="ui-content">
<p>Cat</p>
</div>
<div data-role="footer" data-position="fixed">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div>
<div data-role="page" id="dog">
<div data-role="header">
<a href="#mainpage" data-role="button" data-transition="slide" data-direction="reverse" data-icon="Home">Home</a>
<h2>Welcome</h2>
</div>
<div role="main" class="ui-content">
<p>Dog</p>
</div>
<div data-role="footer" data-position="fixed">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div>
<div data-role="page" id="ele">
<div data-role="header">
<a href="#mainpage" data-role="button" data-transition="slide" data-direction="reverse" data-icon="Home">Home</a>
<h2>Welcome</h2>
</div>
<div role="main" class="ui-content">
<p>Elephat</p>
</div>
<div data-role="footer" data-position="fixed">
<h4>Page Footer</h4>
</div><!-- /footer -->
</div>
</body>
</html>
----------------------------
I want to make it with dynamic data from json data here
{
"products":[
{
"product": "G-32",
"pfor": "All sorts of dental troubles."
},
{
"product": "Aloes Compound",
"pfor": "Female Infertility - Primary or Secondary; Sub fertility, Menstrual Disorders"
},
{
"product": "Aluretic",
"pfor": "Improves function of: Kidneys, Heart, Liver & Lungs. Regulates urine elimination & excretory functions."
},
{
"product": "Arjin",
"pfor": "Comprehensive approach for better control of hypertension (essential) and associated multiple symptoms."
},
{
"product": "Ayapon",
"pfor": "Oral Herbal Haemostatic and Coagulant in all Bleeding condition."
},
{
"product": "Bangshil",
"pfor": "Genito-Urinary Tract Infections, Burning Micturition, Bladder Disturbances."
},
{
"product": "Dekofcyn",
"pfor": "Safe Ayurvedic remedy for all types of Cough."
},
{
"product": "Fortege",
"pfor": "Male Infertility, stress and strain etc."
},
{
"product": "Leptaden",
"pfor": "Leptaden stimulates, stabilizes, improves the quantity of Breast milk and improves and maintains the quality of Breast Milk."
},
{
"product": "Myron",
"pfor": "Makes the patient Fresh, Alert and Energetic."
},
{
"product": "R. Compound",
"pfor": "Rheumatic, Arthritic, Collagen diseases."
},
{
"product": "Siledin",
"pfor": "A Safe Herbal Formulation without drawbacks of modern psychotropic drugs."
},
{
"product": "Sooktyn",
"pfor": "Quick & Predictable results in HYPERACIDITY Syndrome."
}
]
}