-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
294 lines (252 loc) · 10.5 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
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
<!DOCTYPE html>
<html>
<head>
<title>NB Gardens</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/popup.css">
<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
<header>
<h1>NB Gardens</h1>
<h2>A gnome for every Occasion and adventure</h2>
<nav class='nav'>
<a href='#home'>Home</a>
<a href='#shop'>Shop</a>
<a href='#about'>About</a>
<a id='jsPopUpOpen' data-modal-id='basket' href='#' onClick="return false;">Basket</a>
</nav>
<div id="basket" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close" onClick="return false;">×</a>
<h3>Basket</h3>
</div>
<div class="popUpBody" id='basketContent'>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
</header>
<section id='home'>
<div id='slider'>
<img class='sliderImg' src='img/German_garden_gnome.jpg' alt='This is a photo of a German garden gnome' />
<img class='sliderImg' src='img/gnome-41.jpg' alt='gnomes hiding in the wilderness' />
<img class='sliderImg' src='img/Go_Away_Gnome.jpg' alt='The gnome that tells everyone to go away' />
<img class='sliderImg' src='img/indiana-garden-gnome.jpg' alt='The indiana gnome' />
<img class='sliderImg' src='img/maxresdefault.jpg' alt='' />
</div>
</section>
<section id='shop'>
<form id='search'>
<input id='searchInput' type=text placeholder="Search..."/>
<p id='minPriceLabel'>Min Price</p>
<input id='minPrice' type="range" name="minPrice" min="0" max="100" value="0">
<p id='maxPriceLabel'>Max Price</p>
<input id='maxPrice' type="range" name="maxPrice" min="0" max="100" value="100">
</form>
<div id='productList'>
<a class="jsPopUpOpen" href="#" data-modal-id="germanGnomeProd">
<div class=product>
<img src="img/german_thumb.jpg" alt="German Gnome Thumbnail" />
<h2>The German Gnome</h2>
<p class='price'>£10</p>
<p class='hidden'>Brown</p>
</div>
</a>
<a class="jsPopUpOpen" href="#" data-modal-id="gardenGnomeProd">
<div class='product'>
<img src="img/gardenGnomeThumb.jpg" alt="Garden Gnome Thumbnail" />
<h2>The Garden Gnome</h2>
<p class='price'>£20</p>
<p class='hidden'>Red</p>
</div>
</a>
<a class="jsPopUpOpen" href="#" data-modal-id="goawayGnomeProd">
<div class='product'>
<img src="img/goawayThumb.jpg" alt="Go Away Gnome Thumbnail" />
<h2>The Go Away Gnome</h2>
<p class='price'>£30</p>
<p class='hidden'>Blue</p>
</div>
</a>
<a class="jsPopUpOpen" href="#" data-modal-id="indianaGnomeProd">
<div class='product'>
<img src="img/indianaThumb.jpg" alt="Indiana Gnome Thumbnail" />
<h2>The Indiana Gnome</h2>
<p class='price'>£40</p>
<p class='hidden'>Red</p>
</div>
</a>
<a class="jsPopUpOpen" href="#" data-modal-id="littleFriendGnomeProd">
<div class='product'>
<img src="img/littleFriendThumb.jpg" alt="Say hello to my little friend" />
<h2>The Little Friend Gnome</h2>
<p class='price'>£50</p>
<p class='hidden'>Yellow</p>
</div>
</a>
<a class="jsPopUpOpen" href="#" data-modal-id="drunkGnomeProd">
<div class='product'>
<img src="img/drunkThumb.jpg" alt="The Drunk Gnome" />
<h2>The Drunk Gnome</h2>
<p class='price'>£75</p>
<p class='hidden'>Green</p>
</div>
</a>
</div>
<div id='productDetails'>
<div id="germanGnomeProd" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close" onClick="return false;">×</a>
<h3>The German Gnome</h3>
</div>
<div class="popUpBody">
<img src="img/german_thumb.jpg" alt="German Gnome Thumbnail" />
<div class='left'>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo at felis vitae facilisis. Cras volutpat fringilla nunc vitae hendrerit. Donec porta id augue quis sodales. Sed sit amet metus ornare, mattis sem at, dignissim arcu. Cras rhoncus ornare mollis. </p>
</div>
<div class='right'>
<p>£10</p>
<form>
<input class='quantityInput' type='text' name='quantity' value='1'>
<input type='button' value='Add to Cart' onClick="addToBasket('germanGnomeProd','German','10');">
</form>
</div>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
<div id="gardenGnomeProd" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close" onClick="return false;">×</a>
<h3>The Garden Gnome</h3>
</div>
<div class="popUpBody">
<img src="img/gardenGnomeThumb.jpg" alt="garden Gnome Thumbnail" />
<div class='left'>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo at felis vitae facilisis. Cras volutpat fringilla nunc vitae hendrerit. Donec porta id augue quis sodales. Sed sit amet metus ornare, mattis sem at, dignissim arcu. Cras rhoncus ornare mollis. </p>
</div>
<div class='right'>
<p>£20</p>
<form>
<input class='quantityInput' type='text' name='quantity' value='1'>
<input type='button' value='Add to Cart' onClick="addToBasket('gardenGnomeProd','Garden','20');">
</form>
</div>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
<div id="goawayGnomeProd" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close" onClick="return false;">×</a>
<h3>The Go Away Gnome</h3>
</div>
<div class="popUpBody">
<img src="img/goawayThumb.jpg" alt="Go Away Gnome Thumbnail" />
<div class='left'>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo at felis vitae facilisis. Cras volutpat fringilla nunc vitae hendrerit. Donec porta id augue quis sodales. Sed sit amet metus ornare, mattis sem at, dignissim arcu. Cras rhoncus ornare mollis. </p>
</div>
<div class='right'>
<p>£30</p>
<form>
<input class='quantityInput' type='text' name='quantity' value='1'>
<input type='button' value='Add to Cart' onClick="addToBasket('goawayGnomeProd','Go Away','30');">
</form>
</div>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
<div id="indianaGnomeProd" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close" onClick="return false;">×</a>
<h3>The Indiana Gnome</h3>
</div>
<div class="popUpBody">
<img src="img/indianaThumb.jpg" alt="Indiana Gnome Thumbnail" />
<div class='left'>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo at felis vitae facilisis. Cras volutpat fringilla nunc vitae hendrerit. Donec porta id augue quis sodales. Sed sit amet metus ornare, mattis sem at, dignissim arcu. Cras rhoncus ornare mollis.</p>
</div>
<div class='right'>
<p>£40</p>
<form>
<input class='quantityInput' type='text' name='quantity' value='1'>
<input type='button' value='Add to Cart' onClick="addToBasket('indianaGnomeProd','Indiana','40');">
</form>
</div>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
<div id="littleFriendGnomeProd" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close" onClick="return false;">×</a>
<h3>The Little Friend Gnome</h3>
</div>
<div class="popUpBody">
<img src="img/littleFriendThumb.jpg" alt="Little Friend Gnome Thumbnail" />
<div class='left'>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo at felis vitae facilisis. Cras volutpat fringilla nunc vitae hendrerit. Donec porta id augue quis sodales. Sed sit amet metus ornare, mattis sem at, dignissim arcu. Cras rhoncus ornare mollis. </p>
</div>
<div class='right'>
<p>£50</p>
<form>
<input class='quantityInput' type='text' name='quantity' value='1'>
<input type='button' value='Add to Cart' onClick="addToBasket('littleFriendGnomeProd','Little Friend','50');">
</form>
</div>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
<div id="drunkGnomeProd" class="productPopUp">
<div class='popUpHeader'>
<a href="#shop" class="jsPopUpClose close"onClick="return false;">×</a>
<h3>The Drunk Gnome</h3>
</div>
<div class="popUpBody">
<img src="img/drunkThumb.jpg" alt="Drunk Gnome Thumbnail" />
<div class='left'>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut commodo at felis vitae facilisis. Cras volutpat fringilla nunc vitae hendrerit. Donec porta id augue quis sodales. Sed sit amet metus ornare, mattis sem at, dignissim arcu. Cras rhoncus ornare mollis. </p>
</div>
<div class='right'>
<p>£75</p>
<form>
<input class='quantityInput' type='text' name='quantity' value='1'>
<input class='addToBasket' onClick="addToBasket('drunkGnomeProd','drunk','75');" type='button' value='Add to Cart'>
</form>
</div>
</div>
<div class='popUpFooter clearfloat'>
<a href="#shop" class="jsPopUpClose" onClick="return false;">Close</a>
</div>
</div>
</div>
</section>
<section id="about">
<div id='missionState'>
<h1>NB Gardens Mission Statement<br></h1>
<em>"NB Gardens aims to provide a gnome for every Purpose, Occasion, and Adventure"</em>
</div>
</section>
<section id="contact">
</section>
<footer>
<small>Copyright © Web Design and Development by Phil Stevenson</small>
</footer>
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="js/popup.js"></script>
<script src="js/slider.js"></script>
<script src="js/livesearch.js"></script>
<script src="js/basket.js"></script>
</body>
</html>