1// Slickã®è¨å®ï¼jQueryãã¼ã¹ï¼ 2$(document).ready(function(){ 3 $('.slider').slick({ 4 autoplay: true, 5 autoplaySpeed: 5000, 6 dots: true, 7 arrows: false, 8 fade: true, 9 speed: 800 10 }); 11}); 12 13// ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ã®å¶å¾¡ï¼Vanilla JSï¼ 14document.addEventListener("DOMContentLoaded", () => { 15 const menuToggle = document.getElementById('menu-toggle'); 16 const nav = document.getElementById('global-nav'); 17 18 if (menuToggle && nav) { 19 menuToggle.addEventListener('click', () => { 20 menuToggle.classList.toggle('active'); 21 nav.classList.toggle('active'); 22 }); 23 } 24}); 25 26 window.addEventListener('scroll', function () { 27 const tab = document.querySelector('.language-tab'); 28 if (!tab) return; 29 30 const hideThreshold = window.innerHeight * 0.9; 31 if (window.scrollY > hideThreshold) { 32 tab.classList.add('hide'); 33 } else { 34 tab.classList.remove('hide'); 35 } 36 });
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.