-
Notifications
You must be signed in to change notification settings - Fork 1
/
jqm-3.html
67 lines (56 loc) · 2.29 KB
/
jqm-3.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>Trees</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
</head>
<body>
<!-- This is adapted from jquerymobile.com tutorials -->
<!-- ----------------- INTRO PAGE ----------------- -->
<div data-role="page" id="intro">
<div data-role="header">
<h1>Trees</h1>
</div><!-- /header -->
<div data-role="content">
<p>This web app is about trees.</p>
<ul data-role="listview" data-inset="true" data-filter="true">
<li><a href="#oak" data-transition="slide">Oak</a></li>
<li><a href="#maple" data-transition="slide">Maple</a></li>
<li><a href="#blackcherry" data-transition="slide">Black Cherry</a></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<!-- ----------------- OAK ----------------- -->
<div data-role="page" id="oak">
<div data-role="header">
<h1>Oak</h1>
</div><!-- /header -->
<div data-role="content">
<p>Oak trees grow very tall. And produce acorns.</p>
<a href="#intro" data-role="button" data-icon="arrow-l" data-transition="slide" data-direction="reverse">Back to trees</a>
</div><!-- /content -->
</div><!-- /page -->
<!-- ----------------- MAPLE ----------------- -->
<div data-role="page" id="maple">
<div data-role="header">
<h1>Maple</h1>
</div><!-- /header -->
<div data-role="content">
<p>The leaf of the maple tree is the symbol of Canada. Maple trees make great pancake syrup.</p>
<a href="#intro" data-role="button" data-icon="arrow-l" data-transition="slide" data-direction="reverse">Back to trees</a>
</div><!-- /content -->
</div><!-- /page -->
<!-- ----------------- BLACK CHERRY ----------------- -->
<div data-role="page" id="blackcherry">
<div data-role="header">
<h1>Black Cherry</h1>
</div><!-- /header -->
<div data-role="content">
<p>Black Cheery trees produce a lot of cherrys. Which are a nuisance to have in your yard.</p>
<a href="#intro" data-role="button" data-icon="arrow-l" data-transition="slide" data-direction="reverse">Back to trees</a>
</div><!-- /content -->
</div><!-- /page -->
</body>