PageSourceSearch

https://www.kohachistudio.com/en/script.js

js kohachistudio.com collected 2026-10-07 01:49:47 UTC 970 bytes, 36 lines download raw bytes

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.