1jQuery(document).ready(()=>{ 2 3 let count = 0; 4 5 $('#offcanvas-toggler').on('click', function (event) { 6 if (count % 2 === 0) { 7 $('.offcanvas-init').addClass('offcanvas-active'); 8 count++; 9 return; 10 } 11 12 event.preventDefault(); 13 14 $('.offcanvas-init').removeClass('offcanvas-active full-offcanvas'); 15 16 $('body').css('overflow', ''); 17 18 count++; 19 }); 20 21 $('.offcanvas-overlay').on('click', function (event) { 22 event.preventDefault(); 23 24 $('.offcanvas-init').removeClass('offcanvas-active full-offcanvas'); 25 26 count++; 27 }); 28 jQuery(".no_link").removeAttr("href"); 29 30 31 32 const swiper = new Swiper('.slick1', { 33 freeMode: { 34 enabled: true, 35 sticky: true, 36 }, 37 spaceBetween: 30, 38 loop: false, 39 grabCursor: true, 40 loopedSlides: 7, 41 centerSlide: true, 42 slidesPerView: "auto", 43 44 }); 45 46 const swiper2 = new Swiper(".swiperImage", { 47 slidesPerView: 1, 48 pagination: { 49 el: ".swiper-pagination", 50 clickable: true, 51 52 }, 53 }); 54 55 56 var initialSrc = "/images/assets/DEM-Logo.png"; 57 var scrollSrc = "/images/assets/Gruppe_211.svg"; 58 59 if (jQuery(window).innerWidth() < 767) { 60 jQuery('.logo-image').attr('src', scrollSrc); 61 jQuery('.logo-image').attr('srcset', scrollSrc); 62 } 63 64 jQuery(window).scroll(function() { 65 var value = jQuery(this).scrollTop(); 66 if (value > 35){ 67 /*jQuery('.logo-image').attr('src', scrollSrc); 68 jQuery('.logo-image').attr('srcset', scrollSrc);*/ 69 70 jQuery('#sp-header').addClass('scrolled'); 71 72 } 73 else{ 74 75 jQuery('#sp-header').removeClass('scrolled'); 76 77 /*if (jQuery(window).innerWidth() < 767) { 78 jQuery('.logo-image').attr('src', scrollSrc); 79 jQuery('.logo-image').attr('srcset', scrollSrc); 80 jQuery('.logo-image').css('width', '80%'); 81 if (jQuery(window).innerWidth() < 499) { 82 jQuery('.logo-image').css('width', '70%'); 83 } 84 if (jQuery(window).innerWidth() < 399) { 85 jQuery('.logo-image').css('width', '100%'); 86 } 87 } 88 else { 89 jQuery('.logo-image').attr('src', initialSrc); 90 jQuery('.logo-image').attr('srcset', initialSrc); 91 jQuery('.logo-image').css('width', '80%'); 92 }*/ 93 } 94 }); 95 96 jQuery('.nav-header').on('click',function(event) { 97 event.preventDefault(); 98 jQuery(this).closest('.menu-parent').toggleClass('menu-parent-open').find('.menu-child').slideToggle(400); 99 }); 100 101 jQuery('.nav-header .menu-toggler').on('click',function(event) { 102 event.preventDefault(); 103 event.stopPropagation(); 104 jQuery(this).closest('.menu-parent').toggleClass('menu-parent-open').find('.menu-child').slideToggle(400); 105 }); 106 107 108 if( !jQuery('.view-entry #banner').length) 109 { 110 jQuery('.eb-entry-head').css('margin-top', '30px'); 111 } 112 113});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.