This commit is contained in:
2025-12-11 13:08:57 +01:00
commit ef9038771b
24 changed files with 657 additions and 0 deletions

18
assets/js/main.js Normal file
View File

@@ -0,0 +1,18 @@
jQuery(document).ready(function($) {
var mastheadheight = $('.ds-header').outerHeight();
//console.log(mastheadheight);
$(".ds-banner,.ds-main-section").css("margin-top" , mastheadheight);
$(window).scroll(function(){
if ($(window).scrollTop() >= 10) {
$('.ds-header').addClass('ds-fixed-header');
}
else {
$('.ds-header').removeClass('ds-fixed-header');
}
}).scroll();
});