PageSourceSearch

https://drumsmagazine.jp/wp-content/themes/madd-magazine/js/slide-customization.js?v=1790919506

js drumsmagazine.jp collected 2026-10-02 05:38:52 UTC 909 bytes, 28 lines download raw bytes

1jQuery(document).ready(function($) {
2	// スライドボタンの位置をカテゴリアイコンと同じ位置に合わせる
3	function adjustSlideButtonPosition() {
4		var categoriesWrap = $('.main-slide-top .categories-wrap').first();
5		if (categoriesWrap.length) {
6			var categoriesTop = categoriesWrap.position().top;
7			var buttonTop = categoriesTop - 10; // 10px上に移動
8			$('.slide-button').css('top', buttonTop + 'px');
9			console.log('Slide button position adjusted to:', buttonTop + 'px');
10		} else {
11			console.log('Categories wrap not found');
12		}
13	}
14
15	// 初回実行(画像読み込み後に実行)
16	setTimeout(function() {
17		adjustSlideButtonPosition();
18	}, 100);
19
20	$(window).on('load', function() {
21		adjustSlideButtonPosition();
22	});
23
24	// ウィンドウリサイズ時に再調整
25	$(window).resize(function() {
26		adjustSlideButtonPosition();
27	});
28});

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.