-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.html
215 lines (185 loc) · 11.9 KB
/
demo.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home</title>
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<link href='css/bootstrap.css' rel='stylesheet' type='text/css'>
<link href='css/owl.carousel.css' rel='stylesheet' type='text/css'>
<link href='css/jquery-ui.css' rel='stylesheet' type='text/css'>
<link href='css/main.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="js/jquery-1.12.0.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/owl.carousel.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
$(function () {
$("#MainHeader").load("Header.html");
$("#MainFooter").load("Footer.html");
createMapForStoreList();
getLocation();
});
var currentLocationLat = '';
var currentLocationLong = '';
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
alert("Geolocation is not supported by this browser.");
}
}
function showPosition(position) {
currentLocationLat = position.coords.latitude;
currentLocationLong = position.coords.longitude;
}
</script>
<style type="text/css">
.footer
{
background-color: #141312;
position: relative;
left: 0;
bottom: 0;
height: 100px;
width: 100%;
overflow:hidden;
}
.headingFindStore h1 {
padding: 15px 0px 15px 0px;
text-align: center;
color: #EEE3E3;
font-weight: bold;
text-transform: uppercase;
font-size: 26px;
}
.headingFindStore {
background-color: #736D6D !important;
margin-top: 35px;
border-radius: 5px;
}
</style>
</head>
<body style="font-size: 14px !important;">
<div id="mainContainer">
<div id="MainHeader"></div>
<div id="MainBodyShip">
<div class="findStoreContainer">
<div class="row">
<div class="col-md-12 howToShipInnerContainer">
<div class="headingFindStore">
<h1>Journalist Details</h1>
</div>
<div class="findStoreDDLContainer">
<div class="col-md-5 countryContainerMain">
<div class="countryContainerInner">
<select class="countryDDLItems">
<option value="-1">Please Choose Country</option>
<option value="1">Pakistan</option>
<option value="2">Bahrain</option>
<option value="3">Dubai</option>
<option value="4">USA</option>
</select>
</div>
</div>
<div class="col-md-5 countryContainerMain">
<div class="countryContainerInner">
<select class="countryDDLItems">
<option value="-1">Please Choose City</option>
<option value="1">Islamabad</option>
<option value="2">Manama</option>
<option value="3">Seef</option>
<option value="4">Juffair</option>
</select>
</div>
</div>
<div class="col-md-2 countryContainerMain1">
<div class="buttonFindCountryBtn">
<a href="javascript:void(0)">Search</a>
</div>
</div>
</div>
<div class="storesMapContainerDiv">
<div class="col-md-4 col-sm-4 col-xs-12 storesContainerMain">
<div class="storesContainerInnerDiv">
<ul>
<li id="storeDetailContainerLiID0" onclick="openMarkerAddress(0);">
<div class="storesDetailLiDiv">
<div class="storeDetailNumberDiv">1</div>
<div class="storeDetailTextDiv">
<div class="storeName">Test Journalist Name</div>
<div class="storeAddress1 storeDetailOther">Building no 1, Street no 10</div>
<div class="storeAddress1 storeDetailOther">Manama, Bahrain</div>
<div class="storePhone storeDetailOther">12345678910</div>
<div class="storeEmail storeDetailOther">[email protected]</div>
<div class="storeTimings storeDetailOther">Mon - Fri : 8am - 5pm</div>
</div>
</div>
</li>
<li id="storeDetailContainerLiID1" onclick="openMarkerAddress(1);">
<div class="storesDetailLiDiv">
<div class="storeDetailNumberDiv">2</div>
<div class="storeDetailTextDiv">
<div class="storeName">Test Journalist Name</div>
<div class="storeAddress1 storeDetailOther">Building no 1, Street no 10</div>
<div class="storeAddress1 storeDetailOther">Manama, Bahrain</div>
<div class="storePhone storeDetailOther">12345678910</div>
<div class="storeEmail storeDetailOther">[email protected]</div>
<div class="storeTimings storeDetailOther">Mon - Fri : 8am - 5pm</div>
</div>
</div>
</li>
<li id="storeDetailContainerLiID2" onclick="openMarkerAddress(2);">
<div class="storesDetailLiDiv">
<div class="storeDetailNumberDiv">3</div>
<div class="storeDetailTextDiv">
<div class="storeName">Test Jounralist Name</div>
<div class="storeAddress1 storeDetailOther">Building no 1, Street no 10</div>
<div class="storeAddress1 storeDetailOther">Manama, Bahrain</div>
<div class="storePhone storeDetailOther">12345678910</div>
<div class="storeEmail storeDetailOther">[email protected]</div>
<div class="storeTimings storeDetailOther">Mon - Fri : 8am - 5pm</div>
</div>
</div>
</li>
<li id="storeDetailContainerLiID3" onclick="openMarkerAddress(3);">
<div class="storesDetailLiDiv">
<div class="storeDetailNumberDiv">4</div>
<div class="storeDetailTextDiv">
<div class="storeName">Test Journalist Name</div>
<div class="storeAddress1 storeDetailOther">Building no 1, Street no 10</div>
<div class="storeAddress1 storeDetailOther">Manama, Bahrain</div>
<div class="storePhone storeDetailOther">12345678910</div>
<div class="storeEmail storeDetailOther">[email protected]</div>
<div class="storeTimings storeDetailOther">Mon - Fri : 8am - 5pm</div>
</div>
</div>
</li>
<li id="storeDetailContainerLiID4" onclick="openMarkerAddress(4);">
<div class="storesDetailLiDiv">
<div class="storeDetailNumberDiv">5</div>
<div class="storeDetailTextDiv">
<div class="storeName">Test Jounralist Name</div>
<div class="storeAddress1 storeDetailOther">Building no 1, Street no 10</div>
<div class="storeAddress1 storeDetailOther">Manama, Bahrain</div>
<div class="storePhone storeDetailOther">12345678910</div>
<div class="storeEmail storeDetailOther">[email protected]</div>
<div class="storeTimings storeDetailOther">Mon - Fri : 8am - 5pm</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="col-md-8 col-sm-8 col-xs-12 mapContainerMain">
<div id="mapListAllStores" style="width:100%; height:100%; border:1px solid #c1c1c1;"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>