-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
129 lines (129 loc) · 5.05 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE HTML>
<html>
<head>
<title>Beryl Ford Collection</title>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<link rel="stylesheet" href="css/jquery.mobile-1.2.0.css" />
<script src="js/jquery-1.8.2.js"></script>
<script src="js/jquery.mobile-1.2.0.js"></script>
<script src="js/map.js"></script>
<script src="js/query.js"></script>
<script src="js/search.js"></script>
<script src="js/underscore-min.js"></script>
<script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript"></script>
<script src="js/min/jquery.ui.map.full.min.js" type="text/javascript"></script>
<script src="js/jquery.mustache.js" type="text/javascript"></script>
<script src="data/AppData.js"></script>
</head>
<body style="margin: 0px">
<script type="text/template" id="listitem-template">
<ul data-role="listview">
{{#content}}
<li>
<a href="#photopopup" data-rel="popup" onClick='popupImage({{CONTENTDM}})'>
<p>{{ADDRESS}}<br/>
{{VISUAL_DESCRIPTION}}</p>
<div style="position:absolute;bottom:0;right:0;">
{{distance_format}}
</div>
</a>
</li>
{{/content}}
</ul>
</script>
<div data-role="page" id="map-page">
<div data-role="header">
</div> <!-- /header -->
<div data-role="content" style="margin:0px; padding:0px;">
<style type="text/css">
#map{
height: 100% !important;
width: 100% !important;
position: fixed !important;
}
#map>div{
bottom:27pt;
height: auto !important;
}
</style>
<div id="map" ></div>
<script type="text/javascript">
$('#map-page').live("pageshow",function(event){
loadmap();
});
</script>
</div> <!-- /content -->
<div data-role="navbar" data-position="fixed" data-transition="none">
<ul>
<li><a href="#map-page" data-role="button" class="ui-btn-active">Map</a></li>
<li><a href="#YouAreHere" data-role="button" >Near You</a></li>
<li><a href="#Search" data-role="button" >Search</a></li>
<li><a href="#about" data-role="button" >About</a></li>
</ul>
</div> <!-- /navbar -->
</div><!-- /page -->
<div data-role="page" id="YouAreHere">
<div data-role="header">
</div> <!-- /header -->
<div data-role="content">
<script type="text/javascript" language="javascript">
$('#YouAreHere').live("pageshow",function(event){
$('#nearyou-content').empty();
populateNearYou('#nearyou-content','#YouAreHere .content #photopopup img');
});
</script>
<div id="nearyou-content"></div>
<div id="photopopup" data-role="popup">
<img src=""/>
</div>
</div> <!-- /content -->
<div data-role="navbar" data-position="fixed" data-transition="none">
<ul>
<li><a href="#map-page" data-role="button" >Map</a></li>
<li><a href="#YouAreHere" data-role="button" class="ui-btn-active">Near You</a></li>
<li><a href="#Search" data-role="button" >Search</a></li>
<li><a href="#about" data-role="button" >About</a></li>
</ul>
</div> <!-- /navbar -->
</div><!-- /page -->
<div data-role="page" id="Search">
<div data-role="header">
</div> <!-- /header -->
<div data-role="content">
<form id='search-form' style="margin-bottom:30px;">
<input type="search" name="search" id="search-basic" value="" />
</form>
<div id="search-results"></div>
<div id="photopopup" data-role="popup">
<img src=""/>
</div>
</div> <!-- /content -->
<div data-role="navbar" data-position="fixed" data-transition="none">
<ul>
<li><a href="#map-page" data-role="button" >Map</a></li>
<li><a href="#YouAreHere" data-role="button" >Near You</a></li>
<li><a href="#Search" data-role="button" class="ui-btn-active">Search</a></li>
<li><a href="#about" data-role="button" >About</a></li>
</ul>
</div> <!-- /navbar -->
</div><!-- /page -->
<div data-role="page" id="about">
<div data-role="header">
</div> <!-- /header -->
<div data-role="content">
<div id="about-content"></div>
<script type="text/javascript" language="javascript">
$('#about-content').load('about.html #content');
</script>
</div> <!-- /content -->
<div data-role="navbar" data-position="fixed" data-transition="none">
<ul>
<li><a href="#map-page" data-role="button" >Map</a></li>
<li><a href="#YouAreHere" data-role="button" >Near You</a></li>
<li><a href="#Search" data-role="button" >Search</a></li>
<li><a href="#about" data-role="button" class="ui-btn-active">About</a></li>
</ul>
</div> <!-- /navbar -->
</div><!-- /page -->
</body>
</html>