-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
486 lines (469 loc) · 23.6 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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
<!doctype html>
<html lang="en">
<head>
<title>14311 Long Green Drive | Silver Spring, MD 20906</title>
<meta name="description" content="A privately owned townhouse located at 14311 Long Green Drive in Silver Spring, Maryland."/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>
<style>
.card{width:calc(100% - 2rem);}
.contact{left:2px;}
.details{right:2px;}
.dropdown{top:2px;z-index:4;}
.elevator{height:64px;left:3px;position:absolute;top:50%;transform:translateY(-50%);width:1rem;}
.elevator li{position:relative;}
.elevator li:before{bottom:10px;color:#fff;font-size:10px;left:2.5px;position:absolute;}
.elevator li:nth-child(2) button{background-color:#fff;background-image:url('img/info.svg');background-position:center;background-repeat:no-repeat;}
.elevator li.slick-active:nth-child(2) button{background-image:url('img/info-red.svg');background-position:center;background-repeat:no-repeat;}
.elevator li:nth-child(3):before{content:'2';}
.elevator li:nth-child(4):before{bottom:10px;content:'1';left:3.5px;}
.elevator li:nth-child(5):before{content:'B';}
.floors>.slick-dots{left:0;top:50%;translate:transformY(-50%);}
.floors>.slick-dots li{height:12px;}
.h-100vh,.slick-list,.slick-track{height:100vh!important;}
iframe{max-width:100%;}
.room img{display:none;height:100%;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto;}
.room img.active{display:block;}
.rooms{bottom:1px;}
.rooms>.slick-dots{bottom:.25rem;display:flex;height:.75rem;position:absolute;left:50%;transform:translateX(-50%);z-index:9;}
.rooms>.slick-dots li{margin-right:6px;}
.rooms>.slick-next{height:100%;right:0;top:0;width:1rem;}
.rooms>.slick-prev{height:100%;left:0;top:0;width:1rem;}
.slick-arrow{border:0;margin:0;display:none!important;opacity:0;padding:0;position:absolute;text-indent:99999vw;z-index:1;}
.slick-dots{list-style:none;margin:0;padding:0;position:absolute;width:auto;}
.slick-dots button{background:#fefefe;border:0;border-radius:50%;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important;height:.75rem;margin:0;padding:0;text-indent:99999vw;width:.75rem;}
.slick-active > button{background-color:transparent;background-image:url('img/star.svg');background-position:center;}
.slick-slide{overflow:hidden;}
@media(min-width:576px) {
.card{width:50%;}
}
@media(min-width:768px) {
.btn-sm{border-radius:.25rem!important;padding:.375rem .75rem!important;font-size:1rem!important;}
.contact{left:1rem;}
.details{right:1rem;}
.dropdown{top:1rem;}
.floors>.slick-arrow{height:1rem;}
.room img{height:auto;width:100vw;}
.rooms>.slick-arrow{width:1rem;}
.slick-arrow{display:block!important;}
}
</style>
</head>
<body class="bg-dark overflow-hidden">
<div class="contact dropdown position-fixed shadow-sm" style="z-index:3;">
<button class="btn btn-danger btn-sm dropdown-toggle" type="button" id="contactMenu" data-bs-toggle="dropdown" aria-expanded="false">
Rent It
</button>
<ul class="dropdown-menu" aria-labelledby="contactMenu">
<li><a class="dropdown-item" href="https://airbnb.com" target="_blank">Airbnb</a></li>
<li><a class="dropdown-item" href="https://vrbo.com" target="_blank">Vrbo</a></li>
</ul>
</div>
<div class="details dropdown position-fixed shadow-sm" style="z-index:3;">
<button class="btn btn-sm btn-warning dropdown-toggle" type="button" id="detailsMenu" data-bs-toggle="dropdown" aria-expanded="false">
Contact Us
</button>
<ul class="dropdown-menu" aria-labelledby="detailsMenu">
<li><a class="dropdown-item" href="tel:1234567890">Call</a></li>
<li><a class="dropdown-item" href="mailto:a@a.a">Email</a></li>
</ul>
</div>
<div class="floors">
<div class="h-100vh position-relative rooms form">
<div class="align-items-center d-flex flex-column h-100 justify-content-center py-5 text-center w-100">
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSfp2QdCa6UaJNhrLwCYaius775cnbBs9YBStdqD3_Nzm42Lbg/viewform?embedded=true" width="640" height="1423" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
</div>
</div>
<div class="h-100vh position-relative rooms property text-light">
<div class="align-items-center d-flex flex-column h-100 justify-content-start py-5 text-center">
<h1>14311 Long Green Drive<br><span class="h2">Silver Spring, MD 20906</span></h1>
<div class="h4 text-center">For Sale</div>
<div class="d-flex mb-1">
<button type="button" class="btn btn-sm btn-success disabled">$499,000</button>
</div>
<div class="d-flex mb-1">
<button type="button" class="btn btn-secondary btn-sm disabled me-1">Townhouse</button>
<button type="button" class="btn btn-danger btn-sm disabled me-1">Corner Unit</button>
<button type="button" class="btn btn-secondary btn-sm disabled">1983</button>
</div>
<div class="h4 text-center">Size</div>
<div class="d-flex mb-1">
<button type="button" class="btn btn-light btn-sm disabled me-1">3 Bedroom</button>
<button type="button" class="btn btn-light btn-sm disabled me-1">3.5 Bath</button>
</div>
<div class="d-flex mb-1">
<button type="button" class="btn btn-light btn-sm disabled me-1">1,902 Sq Ft</button>
<button type="button" class="btn btn-light btn-sm disabled">2,399 Sq Ft Lot</button>
</div>
</div>
<div class="align-items-center d-flex flex-column h-100 justify-content-start py-5 text-center">
<div class="h4 text-center">Services</div>
<div class="d-flex mb-1">
<button type="button" class="btn btn-sm btn-dark disabled me-1">Pepco</button>
<button type="button" class="btn btn-sm btn-warning disabled">Verizon Fios</button>
</div>
<div class="d-flex mb-1">
<button type="button" class="btn btn-light btn-sm disabled me-1">WSSC</button>
<button type="button" class="btn btn-primary btn-sm disabled">Washington Gas</button>
</div>
</div>
<div class="align-items-center d-flex h-100 justify-content-center pt-3">
<div class="h-100 px-3 py-5 w-100">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3096.722101783605!2d-77.03265042489227!3d39.0900272716835!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89b7cfe1d6eb77dd%3A0x5e747d760b61e70f!2s14311%20Long%20Green%20Dr%2C%20Silver%20Spring%2C%20MD%2020906!5e0!3m2!1sen!2sus!4v1704939258870!5m2!1sen!2sus" style="border:0;height:100%;width:100%;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
<div class="h-100vh position-relative rooms second">
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Master Bath" aria-hidden="false" class="active" data-lazy="img/master-bath.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Master Bath</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Master Bedroom" aria-hidden="false" class="active" data-lazy="img/master-bedroom.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Master Bedroom</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Staircase" aria-hidden="false" class="active" data-lazy="img/stair-2b.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Staircase</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Upstairs" aria-hidden="false" class="active" data-lazy="img/upstairs.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Upstairs</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Bedroom 2" aria-hidden="false" class="active" data-lazy="img/bedroom-2.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Bedroom 2</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Bath 2" aria-hidden="false" class="active" data-lazy="img/bath-2.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Bath 2</h3>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="h-100vh position-relative rooms first">
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Front Yard</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Front Door</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Entry</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Water Closet</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Kitchen</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Stairs Up</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Dining Room</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card mb-4">
<div class="card-body">
<div class="card-title h4">Stairs Down</div>
<p class="card-text"></p>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Living Room 1" aria-hidden="false" class="active" data-lazy="img/living-room-1.jpg">
<img alt="Living Room 2" aria-hidden="true" data-lazy="img/living-room-2.jpg">
<img alt="Living Room 3" aria-hidden="true" data-lazy="img/living-room-3.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Living Room</h3>
<button type="button" class="room-rotate btn ms-2 px-2 py-0">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-counterclockwise" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2z"/>
<path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466"/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
<div class="align-items-end bg-image d-flex justify-content-center h-100">
<div class="card">
<div class="card-body">
<div class="card-title h4">Deck</div>
<p class="card-text"></p>
</div>
</div>
</div>
</div>
<div class="h-100vh position-relative rooms basement">
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Stairway" aria-hidden="false" class="active" data-lazy="img/stairway.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Stairway</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Hallway" aria-hidden="false" class="active" data-lazy="img/hallway.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Hallway</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Bath" aria-hidden="false" class="active" data-lazy="img/bath.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Bath</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Mechanical" aria-hidden="false" class="active" data-lazy="img/mechanical.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Mechanical</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Basement" aria-hidden="false" class="active" data-lazy="img/basement.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Basement</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Backyard" aria-hidden="false" class="active" data-lazy="img/backyard.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Backyard</h3>
</div>
</div>
</div>
</div>
</div>
<div class="h-100">
<div class="align-items-end d-flex justify-content-center h-100 position-relative room w-100">
<div class="bottom-0 h-100 position-absolute start-0 w-100">
<img alt="Side Yard" aria-hidden="false" class="active" data-lazy="img/side-yard.jpg">
</div>
<div class="card mb-4">
<div class="card-body text-center">
<div class="align-items-center card-title d-flex justify-content-center">
<h3 class="mb-0">Side Yard</h3>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="elevator"></div>
<script>
$(document).ready(function() {
$('.property').slick({
appendDots: $('.property'),
dots: true,
lazyLoad: 'progressive'
});
$('.second').slick({
appendDots: $('.second'),
dots: true,
lazyLoad: 'progressive'
});
$('.first').slick({
appendDots: $('.first'),
dots: true,
lazyLoad: 'progressive'
});
$('.basement').slick({
appendDots: $('.basement'),
dots: true,
lazyLoad: 'progressive'
});
$('.floors').slick({
appendDots: $('.elevator'),
arrows: false,
dots: true,
lazyLoad: 'progressive',
infinite: false,
initialSlide: 3,
touchMove: false,
vertical: true,
verticalSwiping: true
});
$('.floors > .slick-next').click(function(){
if ($('.basement').hasClass('slick-active')) {
$(this).addClass('d-none');
}
$('.slick-prev').removeClass('d-none');
});
$('.floors > .slick-prev').click(function(){
if ($('.form').hasClass('slick-active')) {
$(this).addClass('d-none');
}
$('.slick-next').removeClass('d-none');
});
$('.room-rotate').click(function() {
var $room = $(this).parents('.room');
if ($room.find('.active').next().is('img')) {
$room.find('.active, .active + img').attr('aria-hidden', true).toggleClass('active');
} else {
$room.find('.active, img:first-of-type').attr('aria-hidden', true).toggleClass('active')
}
});
//$('.rooms').on('wheel', (function(e) {
// e.preventDefault();
// if (e.originalEvent.deltaY > 0) {
// $(this).slick('slickNext');
// } else {
// $(this).slick('slickPrev');
// }
//}));
});
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</body>
</html>