PageSourceSearch

https://www.j-yoshikawa.com/blog/wp-content/themes/mag_tcd036/js/header_fix.js?ver=3.1.1

js j-yoshikawa.com collected 2026-10-06 16:26:11 UTC 706 bytes, 34 lines download raw bytes

1jQuery(document).ready(function($){
2
3var flag = "up";
4
5$(window).on("scroll", function () {
6
7 if ($(this).scrollTop() > 280) {
8
9    if (flag === "up") {
10      $("body").removeClass("header_fixed");
11      $("body").removeClass("header_slide_up");
12      $("body").addClass("header_slide_down");
13      flag = "down";
14    }
15
16 } else if($(this).scrollTop() < 280) {
17
18    if (flag === "down") {
19      $("body").removeClass("header_slide_down");
20      $("body").addClass("header_slide_up");
21      flag = "up";
22    }
23
24    if ($(this).scrollTop() < 100) {
25      $("body").addClass("header_fixed");
26      $("body").removeClass("header_slide_up");
27      $("body").removeClass("header_slide_down");
28    }
29 }
30
31});
32
33
34});

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.