PageSourceSearch

https://vocalmagazine.jp/wp-content/themes/vmw/assets/js/settings.js?v=1525597613

js vocalmagazine.jp collected 2026-10-02 18:47:29 UTC 3,012 bytes, 156 lines download raw bytes

1//スクロールでヘッダー効果
2var body = $('body');
3var myHeader = $('.hdCmn');
4var winScrollTop = 0;	
5
6
7
8
9$(window).on("load",function(){ //全ての読み込みが完了したら実行
10	$('#loader').delay(100).fadeOut(800);
11});
12//1.5秒たったら強制的にロード画面を非表示
13$(function(){
14	setTimeout('stopload()',1500);
15});
16function stopload(){
17	$('#loader').delay(100).fadeOut(800);
18}
19
20
21
22$(function () {
23	// スクロールエフェクト
24	var scrollTopBtn = $('.goTop');	
25	scrollTopBtn.hide();
26	//スクロールが400に達したらボタン表示
27	$(window).scroll(function () {
28		if ($(this).scrollTop() > 400) {
29			scrollTopBtn.fadeIn();
30		}else{
31			scrollTopBtn.fadeOut();
32		}
33	});
34});
35
36
37// モーダルメニュー
38$(function () {
39    $('#hdBtn').on('click', function () {
40        body.toggleClass('openModal');
41        myHeader.toggleClass('active');
42//         topBtn.toggleClass('inactive');
43    });
44});
45
46
47
48// スライダー
49$(function () {
50	var topSlider = new Swiper('#topSlider', {
51		slidesPerView: 1,
52		speed: 800,
53		loop: true,
54        centeredSlides: true,
55        spaceBetween: 16,
56        breakpoints: {
57			768: {
58				spaceBetween: 20,
59				slidesPerView: 1.4,
60		    },
61		    992: {
62			    spaceBetween: 40,
63				slidesPerView: 1.8,
64		    },
65		},
66        autoplay: {
67			delay: 5000,
68			disableOnInteraction: false,
69		},
70        pagination: {
71          el: ".swiper-pagination",
72          clickable: true,
73        },
74        navigation: {
75          nextEl: ".swiper-button-next",
76          prevEl: ".swiper-button-prev",
77        },
78    });
79});
80
81
82// スライダー
83$(function () {
84	var pageSlider = new Swiper('#pageSlider', {
85		slidesPerView: 1,
86		speed: 800,
87		loop: true,
88        spaceBetween: 16,
89        breakpoints: {
90			768: {
91				spaceBetween: 20,
92		    },
93		    992: {
94			    spaceBetween: 40,
95		    },
96		},
97        autoplay: {
98			delay: 5000,
99			disableOnInteraction: false,
100		},
101        pagination: {
102          el: ".swiper-pagination",
103          clickable: true,
104        },
105        navigation: {
106          nextEl: ".swiper-button-next",
107          prevEl: ".swiper-button-prev",
108        },
109    });
110});
111
112
113
114// スライダー
115$(function () {
116	var columnSlider = new Swiper('#columnSlider', {
117		slidesPerView: 2.5,
118		speed: 800,
119		loop: true,
120        spaceBetween: 16,
121        breakpoints: {
122			768: {
123				spaceBetween: 20,
124		    },
125		},
126        navigation: {
127          nextEl: ".swiper-button-next",
128          prevEl: ".swiper-button-prev",
129        },
130    });
131});
132
133
134
135
136
137/*
138$(function(){
139    $('#g_nav_hd li a').each(function(){
140        var $href = $(this).attr('href');
141        if(location.href.match($href)) {
142        $(this).addClass('active');
143        } else {
144        $(this).removeClass('active');
145        }
146    });
147    $('#g_nav_ft li a').each(function(){
148        var $href = $(this).attr('href');
149        if(location.href.match($href)) {
150        $(this).addClass('active');
151        } else {
152        $(this).removeClass('active');
153        }
154    });
155});
156*/

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.