first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
$(document).ready(function() {
var scrollHeight = $('.mobile-header-holder').offset().top;
$(window).on('load resize scroll', function() {
var headerHeight = $('.mobile-header').outerHeight();
if ($(window).width() <= 767 && $(window).scrollTop() > scrollHeight) {
$('.mobile-header').addClass('fixed-menu-mobile');
$('.mobile-header-holder').css('height', headerHeight + 'px');
} else {
$('.mobile-header').removeClass('fixed-menu-mobile');
$('.mobile-header-holder').css('height', 'auto');
}
});
});