-
Notifications
You must be signed in to change notification settings - Fork 0
/
queercamp.html
570 lines (481 loc) · 24.4 KB
/
queercamp.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
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-124207040-1"></script> -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-124207040-1');
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Welcome to Queer Camp</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<!-- Queer Camp custom CSS -->
<link rel="stylesheet" href="css/qc.css">
</head>
<body>
<a name="top"></a>
<!--<nav class="navbar fixed-top navbar-expand-lg navbar-default navbar-custom bg-dark"> -->
<!--<nav class="navbar navbar-light" style="background-color: #e3f2fd;">-->
<nav class="navbar fixed-top navbar-expand-lg navbar-dark" style="background-color:#006600;">
<div class="navbar-brand">
<a class="navbar-brand mr-4" href="#">
<img src="images/qcc.jpg" class="img-fluid" style="width:2em; height:2em"/>
<font color="black"><a href="index.html" style="color: #000000">San Francisco Bay Queer Contra Dance</a></font></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav ml-auto" >
<!--<li class="nav-item ml-auto"><a class="nav-link big" href="#about">About</a></li>-->
<!--<li class="nav-item ml-auto"><a class="nav-link big" href="#top">When & Where</a></li>-->
<li class="nav-item ml-auto"><a class="nav-link big" href="index.html">SFBQCD</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="circleleft.html">Circle Left</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="hands_four.html">Hands Four</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="#camp">What</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="#talent">Talent</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="#venue">Venue</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="#conduct">Code of conduct</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="#register">Registration</a></li>
<li class="nav-item ml-auto"><a class="nav-link big" href="mailto:[email protected]">
<img alt="Email Queer Contra Camp" width=40 src="images/email.png" class="img-fluid ebw-navbar-logo d-none d-lg-block" />
<span class="d-lg-none">Email Queer Contra Camp</span>
</a></li>
<li class="nav-item ml-auto"><a class="nav-link small" href="https://www.facebook.com/events/533827550529589/">
<img alt="SFBQCD on Facebook" width=40 src="images/facebook.png" class="img-fluid ebw-navbar-logo d-none d-lg-block" />
<span class="d-lg-none">SFBQCD on Facebook</span>
</a></li>
</ul>
</div>
</nav>
<div class="topspacer"></div>
<div class="jumbotron jumbotron-fluid jumboback">
<div class="container text-center">
<h1 class="display-2" style="padding-top:5%"><strong>Queer Contra Dance Camp</strong></h1>
<h2 class="display-6" style="padding-top:5%"> April 12-14, 2024</h2>
<!--<p class="h4">Queer Contra Dance in Oakland, CA.</p>-->
</div>
</div>
<!-- Description -->
<div class="container-fluid anchor-container" style="background-color: #FFFFFF">
<div class="row justify-content-center">
<!--<div class="col-lg">-->
<div class="col-lg-10">
<div class="row justify-content-center">
<div class="col-lg-6">
<strong>Queer Contra Dance Camp</strong> is a <strong>queer-normative</strong>
<a href="index.html#what"> contra dance </a> weekend in the
California redwoods with incredible talent and an enthusiastic and friendly community.
<br/>
<br/>
<p><i>
Monte Toyon
<br/>
220 Cloister Lane <br/>
Aptos, CA
</i></p>
<!--
<p><strong>
6:00 pm Friday, April 10 – 3:00 pm Sunday, April 12
</strong></p>
-->
Sliding scale admission starts at $125
<br/>
Food and housing included
<h2 class="display-10" style="padding-top:5%">
<strong> <a href=https://forms.gle/8gT8JXsKZE7vddkq9>Sign Up for Our Waitlist</a></strong>
</h2>
<!--<h2 class="display-10" style="padding-top:5%">-->
<!--<strong> <a href=https://forms.gle/d4d9EkDhFjR6stMK6>Add Yourself to the Waitlist</a></strong>-->
<br/>
<br/>
<!--<font size="4">-->
<!--We are currently making plans for Queer Contra Dance Camp 2024 and registration will open in the fall of 2023.-->
If you would like to be added to the list to receive email notification of when future camps open, please email:
<a href="mailto:[email protected]"> [email protected]</a>.
<!--If you would like to know what a weekend at Queer Contra Dance Camp looks like, you can find the details from Queer Contra Dance Camp 2023 below.-->
<!--</font>-->
<!--<font size="4">Queer Contra Dance Camp 2023 has filled up, but we usually are able to invite people from our waitlist to join us when others cancel.</font>-->
<!--</h2>-->
<br/>
<br/>
<strong> Dancing – Commuity - Redwoods</strong>
</div>
<div class="col-lg-6">
<div class="iframe-container">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d41995.51376544218!2d-121.8809297010379!3d36.9878017093404!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x808e160eb657fc17%3A0x68487321fe76cb87!2s220%20Cloister%20Ln%2C%20Aptos%2C%20CA%2095003!5e0!3m2!1sen!2sus!4v1573359517177!5m2!1sen!2sus" width="600" height="400" frameborder="0" style="border:0;" allowfullscreen=""></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- what -->
<div class="container-fluid anchor-container" id="camp" style="background-color: #C6ECC6">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Our Camp</h1>
<a href="www.queercontradance.org">San Francisco Bay Queer Contra Dance's </a>
thirteenth annual camp welcomes dancers of all identities and experience.
We use the calling terms larks and robins, prioritize consent, and have gender-free facilities so that everyone can be included.
New dancers will find that contra is an exuberant, social, and easy-to-learn American barn dance with roots in English folk dance.
For experienced dancers, dancing as part of a community that prioritizes inclusion and everyone's enjoyment
is one of the most magical opportunities contra provides.
Take a weekend away with us to dance, relax, make friends, and enjoy the lovely California redwoods.
See <a href="https://dashboard.intrinsicimpact.org/public/results/bb01e5925a5b50cbce6be17c"> what campers said </a> about Queer Contra Dance Camp 2019!
<br/>
<br/>
This year's (2024) theme is <strong>"Beasts!"</strong> and we encourage those who enjoy dressing up to bring something in theme for our Saturday night dance.
</div>
</div>
</div>
<!-- talent -->
<div class="container-fluid anchor-container" id="talent" style="background-color: #FFFFFF">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Talent</h1>
<br/>
<!-- Nimbus -->
<div class="row justify-content-center">
<div class="col-lg-6">
<br/>
<h3>Nimbus</h3>
debuted at Folk Life 2023 with <a href="https://www.alexsturbaum.com/">Alex Sturbaum</a> (guitar and others),
<a href="https://brianlindsaymusic.com/">Brian Lindsay</a> (banjo and fiddle), and Cedar Stanistreet (fiddle).
Alex and Brian played Queer Contra Dance Camp together in 2019 as Countercurrent, the popular powerhouse duo
from Washington, and Cedar joins them from Vermont and more than a decade of playing music with
contra dance bands such as Nor’easter and Cloud Ten.
Together they blend classical and traditional backgrounds and music from both sides of the Atlantic
into a spirited and dynamic whole.
</div>
<div class="col-lg-6">
<img src="images/qcc2024/Nimbus.png" class="bio-photo40 img-fluid img-thumbnail rounded float-left"/>
</div>
</div>
<!-- River Road -->
<div class="row justify-content-center">
<div class="col-lg-5">
<img src="images/qcc2024/River_road.JPG" class="bio-photo30 img-fluid img-thumbnail rounded float-left"/>
</div>
<div class="col-lg-7">
<br/>
<h3 class="display-10">River Road</h3>
delivers beauty, power, and groove to contra dances with a highly revered mixture of contemporary and
traditional tunes with strong influences from Quebecois, New England, & maritime traditions.
While they are geographically divided by the Connecticut river, an aptly named River Road connects
Sarah-Hadley Yakir (fiddle) Kristen Planeaux (piano, flute, and accordion),
and Jesse Ball (mandolin, guitar, accordion, and foot percussion) to create an energy
that has taken New England by storm.
</div>
</div>
<!-- Andy -->
<div class="row justify-content-center">
<div class="col-lg-10">
<br/>
<h3>Andy Shore</h3>
has been teaching & leading social dances in the LGBTQ community since 1989, and calling contras since 2007.
He moved to the Palm Springs area in 2021, but before COVID, he called regularly around northern and central
California as well as farther afield and had been a mainstay of our SF Bay Queer Contra Dance community
for over a dozen years. With 30 years of calling experience, Andy loves everything from teaching beginners
to satisfying seasoned dancers. Dancers enjoy Andy's clear and concise walk-throughs and his dry wit while he
takes them on a journey through choreography and music.
</div>
<div class="col-lg-2">
<img src="images/qcc2024/Andy.png" class="bio-photo12 img-fluid img-thumbnail rounded float-left" height="42"/>
</div>
</div>
<!-- Isaac -->
<div class="row justify-content-center">
<div class="col-lg-3">
<img src="images/qcc2024/Isaac.png" class="bio-photo15 img-fluid img-thumbnail rounded float-left" height="42"/>
</div>
<div class="col-lg-9">
<br/>
<h3>Isaac Banner</h3>
is a long-time contra dancer and <a href="https://www.isaacbanner.com/calling/">caller</a> from the Seattle area. He is known in the Pacific Northwest for his
particular blend of humor, mayhem, and dance instruction, which he brought to Queer Contra Dance Camp for our
“Science Ceilidh” in 2023. A self-styled contra dance Willy Wonka, he brings moments of magic into the lives
of newcomers and veteran dancers alike.
</div>
</div>
<!-- Nick -->
<div class="row justify-content-center">
<div class="col-lg-10">
<br/>
<h3 style="display:inline;">Nick Cuccia</h3> has provided dancer- and musician-friendly sound at numerous events throughout
northern California during the past twenty-five years,
including BACDS Family Week, English Week, Fall Frolick, and Playford Balls and camps;
NBCDS Mad Robin Balls, SCDS Echo Summit weekend, RSCDS-SF Valentines' Ball and Asilomar Scottish Country Dance Weekend & Workshop,
and every Queer Contra Dance Camp.
Nick also calls contras and English country dances throughout central and northern California.
</div>
<div class="col-lg-2">
<img src="images/qcc2024/nick.jpg" class="bio-photo15 img-fluid img-thumbnail rounded float-left" height="42"/>
</div>
</div>
<!-- Seth -->
<div class="row justify-content-center">
<div class="col-lg-3">
<img src="images/qcc2024/Seth.jpg" class="bio-photo15 img-fluid img-thumbnail rounded float-left" height="42" alt="a picture of a peron sitting near water"/>
</div>
<div class="col-lg-9">
<br/>
<h3>Seth Gorrin</h3>
grew up in the Bay Area contra scene and has been attending Queer Contra Dance Camp for over a decade.
After studying technical theatre in college he returned to the Bay Area and has been running sound at
both Queer Contra Dance Camp and Circle Left ever since. He also originated the traveling skirt,
which has made appearances across the United States and helped numerous dancers get excited about wearing
skirts for contra dances.
</div>
</div>
<br/>
<font size="4">Our talent provides a full weekend of contra dance,
with a second track of dance and singing workshops led by the community during the day.
Specifics will be announced as camp approaches,
but workshop topics in the past have included waltz,
consent conversations, English country dance, pop contra, traditional folk songs,
playing music for contra, and much more.
Sessions targeted to beginning and advanced dancers are also included.
</font>
</div>
</div>
</div>
<!-- venue -->
<div class="container-fluid anchor-container" id="venue" style="background-color: #C6ECC6">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Venue</h1>
<div class="row justify-content-center">
<div class="col-lg-7">
Nestled in a grove of coastal redwoods in Aptos, California, <a href="https://www.uccr.org/montetoyon/">Camp Monte Toyon</a>
offers hiking trails and a beautiful rhododendron garden.
The cost of camp includes dormitories to stay in,
three meals on Saturday and breakfast and lunch on Sunday,
and a delicious spread of snacks throughout the weekend.
Meals are served buffet-style with vegetarian, vegan, and gluten-free options.
Refrigerator space is available for those on special diets.
Accommodations are shared rooms ranging from 4-10 people or campground space for
those who would prefer to bring a tent to sleep in.
Rooms are pre-assigned, and campers have the chance to express housing preferences and needs as part of registration.
Campers need to bring their own towels, pillows, and sleeping bags or sheets and blankets.
Local dancers are asked to bring extras and help with transportation for campers flying in from out of state
which allows us to help with those logistics for some of those dancers.
</div>
<div class="col-lg-5">
<div class="iframe-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/Dr0SobDPMY0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- registration -->
<div class="container-fluid anchor-container" id="registration" style="background-color: #FFFFFF">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Registration</h1>
The cost of running camp is about $380 per person, but we have a sliding scale starting at $125 to make the weekend
accessible to as many people as possible.
Transparency about our costs and our sliding scale recommendations are on the second page of our
<a href="https://forms.gle/8gT8JXsKZE7vddkq9">waitlist</a>. As of now, Queer Contra Dance Camp 2024 is full,
however we usually experience a number of cancellations and are able to invite people from our waitlist
to join us in the order they signed up.
If you need to cancel your registration, we will fully refund cancellations through January 31 or for health reasons.
After February 1, other refunds (minus a $50 fee) are not guaranteed but may be available if your vacant spot is filled.
If paying the full cost when registering is stressful, you can register and pay later.
Additional payments for camp can be made via <a href="https://www.paypal.com/donate/?hosted_button_id=DB56P9N4A4FQ4">PayPal donation</a>.
</div>
</div>
</div>
<!-- Health Safety Precautions -->
<div class="container-fluid anchor-container" id="healthsafetyprecautions" style="background-color: #C6ECC6">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Health Safety Precautions</h1>
We know that everyone is in different places as to their own feelings around COVID-19 and health safety.
As a group event in 2024 we want to put some precautions in place to help to lessen the chance of illness for
our talent and campers and allow the most people possible to attend.
<br/>
<br/>
Currently, we expect everyone to test before camp within 72 hours of arriving and bring a picture of the test to camp.
We expect anyone who tests positive or feels sick not to come to camp and will refund their registration.
Everyone will also need to mask while dancing or in a room with a dance or workshop, unless actively drinking water,
calling dances, or playing music. Doors and windows in the main dance hall will be left open for maximum ventilation
during the day and until they need to be closed for sound reasons in the evening. Masking will be optional for the
rest of camp activities.
<br/>
<br/>
We encourage vaccination and getting the September 2023 COVID booster, but do not require it.
Our venue has outdoor dining, tent camping, and outdoor social spaces available for those
who would like to not be unmasked indoors with other people. We recognize that the situation continues to evolve,
and we will review our policies as camp approaches. If they happen, we will announce any changes to attendees in advance of camp.
</div>
</div>
</div>
<!-- transportation -->
<div class="container-fluid anchor-container" id="transportation" style="background-color: #FFFFFF">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Transportation</h1>
Queer Contra Camp is 79 miles or a 2 hour drive south of San Francisco. Monte Toyon is only accessible by private
vehicle, with limited parking on-site. If you can offer a ride or need a ride to/from camp, please let us know on the
registration form. We are able to get some campers a ride from the Bay Area if they need one. If you are flying in,
we recommend arriving at Oakland or San Jose airports by 5:00 pm on Friday, April 7. While we will have snacks
Friday night, we recommend everyone coming eats before they arrive at camp.
Campers flying into San Francisco who we are arranging rides for may need to take public transit to meet their
carpool and we don’t expect to have rides available for campers arriving in the evening.
</div>
</div>
</div>
<!-- Code of Conduct -->
<div class="container-fluid anchor-container" id="conduct" style="background-color: #C6ECC6">
<div class="row justify-content-center">
<div class="col-lg-10">
<h1 class="display-10">Code of Conduct</h1>
We want all people to feel safe and comfortable at Queer Contra Dance.
We value and expect consent and communication, community mindness, and physical safety.
Harassment of any kind won't be tolerated.
If someone's behavior is offensive or harassing during the dance, we encourage you to speak with one of the <a href="index.html#whoarewe">organizers</a>.
<br/><br/>
Please read our <a href="SFBQCD_Values_and_Expectations.pdf" target="_blank">Values and Expectations</a> if you would like to know more about our community norms and how we handle unwelcome behavior.
<br/><br/>
</div>
</div>
</div>
<div class="container-fluid anchor-container" id="register" style="background-color: #FFFFFF">
<div class="row justify-content-center">
<a href="https://forms.gle/8gT8JXsKZE7vddkq9">
<!-- <img src="images/qcc2023/register_now.jpg" alt="register now" /> -->
<h2>Sign Up for the Waitlist Here</h2>
</a>
</div>
<div class="row justify-content-center" style="margin-top:1em">
<h5>Click this button to donate or pay for camp 2024: </h5>
<!-- paypal button -->
<form action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="hosted_button_id" value="DB56P9N4A4FQ4" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" margin="2" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
</form>
</div>
</div>
<!-- footer logo -->
<div class="footer navbar-fixed-bottom">
<div class="container text-center">
<font color="black">For more information, email: <a href="mailto: [email protected]"> [email protected]</a></font>
or go to <a href="index.html">SFBQCD</a></br>
<font color="black">Updated on <script>document.write(document.lastModified.split(" ")[0])</script></font>
<!--</a>-->
</div>
</div>
<!-- bootstrap JavaScript -->
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script>
/* random order for board members and other volunteers */
$.fn.randomize = function(selector){
(selector ? this.find(selector) : this).parent().each(function(){
$(this).children(selector).sort(function(){
return Math.random() - 0.5;
}).detach().appendTo(this);
});
return this;
};
$('.randomized').randomize('.rnd-board');
$('.randomized').randomize('.rnd-others');
$('.randomized').randomize('.rnd-emeritus');
</script>
<script>
/* close navbar on click */
/* from https://stackoverflow.com/questions/14203279/bootstrap-close-responsive-menu-on-click */
$(function(){
var navMain = $(".navbar-collapse, .navbar-brand");
// "a:not([data-toggle])" - to avoid issues caused
// when you have dropdown inside navbar
navMain.on("click", "a:not([data-toggle])", null, function () {
navMain.collapse('hide');
});
});
(function(document, history, location) {
var HISTORY_SUPPORT = !!(history && history.pushState);
var anchorScrolls = {
ANCHOR_REGEX: /^#[^ ]+$/,
OFFSET_HEIGHT_PX: 70,
/**
* Establish events, and fix initial scroll position if a hash is provided.
*/
init: function() {
this.scrollToCurrent();
window.addEventListener('hashchange', this.scrollToCurrent.bind(this));
document.body.addEventListener('click', this.delegateAnchors.bind(this));
},
/**
* Return the offset amount to deduct from the normal scroll position.
* Modify as appropriate to allow for dynamic calculations
*/
getFixedOffset: function() {
return this.OFFSET_HEIGHT_PX;
},
/**
* If the provided href is an anchor which resolves to an element on the
* page, scroll to it.
* @param {String} href
* @return {Boolean} - Was the href an anchor.
*/
scrollIfAnchor: function(href, pushToHistory) {
var match, rect, anchorOffset;
if(!this.ANCHOR_REGEX.test(href)) {
return false;
}
match = document.getElementById(href.slice(1));
if(match) {
rect = match.getBoundingClientRect();
anchorOffset = window.pageYOffset + rect.top - this.getFixedOffset();
window.scrollTo(window.pageXOffset, anchorOffset);
// Add the state to history as-per normal anchor links
if(HISTORY_SUPPORT && pushToHistory) {
history.pushState({}, document.title, location.pathname + href);
}
}
return !!match;
},
/**
* Attempt to scroll to the current location's hash.
*/
scrollToCurrent: function() {
this.scrollIfAnchor(window.location.hash);
},
/**
* If the click event's target was an anchor, fix the scroll position.
*/
delegateAnchors: function(e) {
var elem = e.target;
if(
elem.nodeName === 'A' &&
this.scrollIfAnchor(elem.getAttribute('href'), true)
) {
e.preventDefault();
}
}
};
window.addEventListener(
'DOMContentLoaded', anchorScrolls.init.bind(anchorScrolls)
);
})(window.document, window.history, window.location);
</script>
<script type="text/javascript">
onload = function(){
document.getElementById("lastModified").innerHTML = "Page last changed " + document.lastModified.split(" ")[0];
}
</script>
</body>
</html>