1//Swiper slider 2var swiper = new Swiper(".bg-slider-thumbs", { 3 loop: true, 4 spaceBetween: 0, 5 slidesPerView: 0, 6}); 7var swiper2 = new Swiper(".bg-slider", { 8 loop: true, 9 spaceBetween: 0, 10 thumbs: { 11 swiper: swiper, 12 }, 13}); 14 15//Navigation bar effects on scroll 16window.addEventListener("scroll", function () { 17 const header = document.querySelector("header"); 18 header.classList.toggle("sticky", window.scrollY > 0); 19}); 20 21//Responsive navigation menu toggle 22const menuBtn = document.querySelector(".nav-menu-btn"); 23const closeBtn = document.querySelector(".nav-close-btn"); 24const navigation = document.querySelector(".navigation"); 25 26menuBtn.addEventListener("click", () => { 27 navigation.classList.add("active"); 28}); 29 30closeBtn.addEventListener("click", () => { 31 navigation.classList.remove("active"); 32});
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.