|
|
@ -14,11 +14,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
// singlePageNav initialization & configuration
|
|
|
|
// singlePageNav initialization & configuration
|
|
|
|
$('ul.navigation').singlePageNav({
|
|
|
|
$('nav').singlePageNav({
|
|
|
|
offset: $('#header').outerHeight(),
|
|
|
|
offset: $('#header').outerHeight(),
|
|
|
|
filter: ':not(.external)',
|
|
|
|
filter: 'a[href*="#"]',
|
|
|
|
updateHash: true,
|
|
|
|
updateHash: true,
|
|
|
|
currentClass: 'active'
|
|
|
|
currentClass: 'active',
|
|
|
|
|
|
|
|
beforeStart: function() {
|
|
|
|
|
|
|
|
if ($('body').hasClass('mobile-nav-open')) {
|
|
|
|
|
|
|
|
$('#toggle').removeClass('active');
|
|
|
|
|
|
|
|
$('#overlay').removeClass('open');
|
|
|
|
|
|
|
|
$('body').removeClass('mobile-nav-open');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|