PageSourceSearch

https://trpg-japan.com/wp-content/themes/rumble_tcd058/js/header-fix.js?ver=1.4

js trpg-japan.com collected 2026-10-07 06:29:10 UTC 695 bytes, 21 lines download raw bytes

1jQuery(function($) {
2
3	$(window).on('scroll', function() {
4		// ヘッダーを固定する
5		if ($(this).scrollTop() > 300) {
6			$('#js-header').addClass('is-header-fixed');
7
8			// グローバルナビゲーション PC レスポンシブOFF+固定ヘッダー
9			// 横スクロールでposition:fixedの要素も横スクロールさせる
10			if (!$('body').hasClass('is-responsive')) {
11				$('#js-header .l-header__bar, .p-megamenu').css('left', $(this).scrollLeft() * -1);
12			}
13		} else {
14			$('#js-header').removeClass('is-header-fixed');
15			if (!$('body').hasClass('is-responsive')) {
16				$('#js-header .l-header__bar, .p-megamenu').css('left', 0);
17			}
18		}
19	});
20
21});

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.