PageSourceSearch

https://kanon.style/wp-content/themes/zoomy_tcd067/js/header-fix.js?ver=6.0.1

js kanon.style collected 2026-09-30 22:07:02 UTC 618 bytes, 23 lines download raw bytes

1jQuery(function($) {
2
3	$(window).on('scroll', function() {
4		// ヘッダーを固定する
5		if ($(this).scrollTop() > 300) {
6			if (!$('#js-header').hasClass('is-header-fixed')) {
7				$('#js-header').addClass('is-header-fixed--animate').addClass('is-header-fixed');
8				$(window).trigger('resize');
9
10				setTimeout(function(){
11					$('#js-header').removeClass('is-header-fixed--animate');
12				}, 500);
13			}
14		} else {
15			if ($('#js-header').hasClass('is-header-fixed')) {
16
17				$('#js-header').removeClass('is-header-fixed--animate').removeClass('is-header-fixed');
18				$(window).trigger('resize');
19			}
20		}
21	});
22
23});

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.