PageSourceSearch

https://www.ogoshi-k.co.jp/website/wp-content/themes/mgm_ogoshi2020/js/top.js?ver=20170827

js ogoshi-k.co.jp collected 2026-09-26 04:50:04 UTC 2,012 bytes, 76 lines download raw bytes

1//slider
2$(function(){
3        $('.fv-slider00').slick({
4            autoplay: true,
5			autoplaySpeed: 3000,
6			infinite: true,
7			pauseOnHover: false,
8			pauseOnFocus: false,
9			touchMove: false,
10			swipe: true,
11            rtl: true,
12			fade: false,
13			speed: 2000,
14			touchThreshold: 10,
15			slidesToShow: 1,
16			slidesToScroll: 1,
17			dots: false,
18			arrows:false,
19            asNavFor: '.fv-slider'
20        });
21        $('.fv-slider').slick({
22            autoplay: true,
23			autoplaySpeed: 3000,
24			infinite: true,
25			pauseOnHover: false,
26			pauseOnFocus: false,
27			touchMove: false,
28			swipe: true,
29			fade: false,
30			speed: 2000,
31			touchThreshold: 10,
32			slidesToShow: 1,
33			slidesToScroll: 1,
34			dots: false,
35			arrows:false,
36            asNavFor: '.fv-slider00',
37            focusOnSelect: true,
38        });
39    
40});
41
42//scroll_effect
43$(window).scroll(function (){
44    var scrollAnimationElm = document.querySelectorAll('.effbox');
45    var scrollAnimationFunc = function() {
46        for(var i = 0; i < scrollAnimationElm.length; i++) {
47        var triggerMargin = 100;
48        if (window.innerHeight > scrollAnimationElm[i].getBoundingClientRect().top + triggerMargin) {
49            scrollAnimationElm[i].classList.add('on');
50        }
51        }
52    }
53    window.addEventListener('load', scrollAnimationFunc);
54    window.addEventListener('scroll', scrollAnimationFunc);
55});
56
57// モーダルの処理
58var bg = document.getElementById('c-modal');
59bg.addEventListener('click', modal_close, false);
60 
61var close = document.getElementById('c-modal_close');
62close.addEventListener('click', modal_close, false);
63 
64function modal_close() {
65    var modal = document.getElementById('c-modal');
66    close.style.display = 'none';
67    bg.style.display = 'none';
68}
69// 1回目のアクセスかどうか
70/*if(sessionStorage.getItem('acs') === null) {
71    // 1回目の場合はWebStorageを設定
72    sessionStorage.setItem('acs', 'on');
73} else {
74    // 2回目以降の場合はモーダルを削除
75    modal_close();
76}*/

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.