PageSourceSearch

https://www.shiwa-fruitspark.co.jp/js/top_style.js

js shiwa-fruitspark.co.jp collected 2026-09-26 06:16:02 UTC 490 bytes, 19 lines download raw bytes

1// JavaScript Document
2
3// トップ スクロール後のヘッダの出し分け
4window.addEventListener('scroll', function() {
5  const targets = document.querySelectorAll('.fixd-area, ul.smp-V');
6
7  targets.forEach(function(target) {
8    if (window.scrollY > 100) {
9      target.classList.add('is-scrolled');
10    } else {
11      target.classList.remove('is-scrolled');
12    }
13  });
14});
15
16// トップ bodyにクラス追加
17$(window).on('load', function() {
18  $('body').addClass('top');
19});

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.