PageSourceSearch

https://41toner.com/view/asset/user-2-1-2-ae4e72f0ce5b7ddba850fb57403d5199.js

js 41toner.com collected 2026-10-08 03:58:47 UTC 4,196 bytes, 131 lines download raw bytes

1// グローバルナビゲーション
2$(function() {
3    $('a[href="#nav-item-dropdown"]').on('click', function() {
4        var dropdown = $(this).next('.drop-nv-wrap');
5        if ($(dropdown).css('display') == 'none') {
6            $(dropdown).fadeIn('fast');
7        } else {
8            $(dropdown).fadeOut('fast');
9        }
10        $('.article-title-pc').toggleClass('open');
11        return false;
12    });
13});
14//サイドのアコーディオンメニュー
15$(function () {
16     $('.ac:first-child .ac-parent').next().show();
17  $('.ac-parent').on('click', function () {
18    $(this).next().slideToggle();
19    //openクラスをつける
20    $(this).toggleClass("open");
21    //クリックされていないac-parentのopenクラスを取る
22    $('.ac-parent').not(this).removeClass('open');
23    // 一つ開くと他は閉じるように
24    $('.ac-parent').not($(this)).next('.ac-child').slideUp();
25  });
26});
27//topへ戻る
28jQuery(function() {
29  var appear = false;
30  var pagetop = $('#page_top');
31  $(window).scroll(function () {
32    if ($(this).scrollTop() > 100) {  //100pxスクロールしたら
33      if (appear == false) {
34        appear = true;
35        pagetop.stop().animate({
36          'bottom': '50px' //下から50pxの位置に
37        }, 300); //0.3秒かけて現れる
38      }
39    } else {
40      if (appear) {
41        appear = false;
42        pagetop.stop().animate({
43          'bottom': '-100px' //下から-100pxの位置に
44        }, 300); //0.3秒かけて隠れる
45      }
46    }
47  });
48  pagetop.click(function () {
49    $('body, html').animate({ scrollTop: 0 }, 500); //0.5秒かけてトップへ戻る
50    return false;
51  });
52});
53
54// ハンバーガーメニュー
55$(function() {
56    $('.menu-trigger').on('click', function() {
57        if ($(this).hasClass('active')) {
58            $(this).removeClass('active');
59            $('main').removeClass('open');
60            $('nav').removeClass('open');
61            $('.overlay').removeClass('open');
62        } else {
63            $(this).addClass('active');
64            $('main').addClass('open');
65            $('nav').addClass('open');
66            $('.overlay').addClass('open');
67        }
68    });
69    $('.overlay').on('click', function() {
70        if ($(this).hasClass('open')) {
71            $(this).removeClass('open');
72            $('.menu-trigger').removeClass('active');
73            $('main').removeClass('open');
74            $('nav').removeClass('open');      
75        }
76    });
77    $('.article-title').on('click', function() {
78        $(this).next().slideToggle(200);
79        $(this).toggleClass('open');
80    });
81});
82
83// 検索ボックス
84$(function() {
85    $('.search-keyword').on('keypress', function(e) {
86        if (e.keyCode == 13) {
87            var index = $('.search-keyword').index(this);
88            $('.search-url')[index].click();
89        }
90    });
91    
92    $('.search-icon').on('click', function() {
93        $('.search-box').animate({ width: 'toggle' }, 'slow');
94    });
95    
96    $('.close').on('click', function() {
97        $('input[type="text"]').fadeOut('slow'); 
98    });
99});
100/*カレンダー表示*/
101// <!--特定日の設定-->
102$(function(){
103    $('.dayList').each(function(){
104        var month = $(this).attr('data-month');
105        var day = $(this).attr('data-day');
106        var color = $(this).attr('data-color');
107 
108        $('.makeshop-calendar' + month +' .day' + day).css({
109            'background-color': color,
110            'color': '#fff',
111            'font-weight': 'bold'
112        });
113 
114    });
115});
116$(function() {
117    $('a[href="#start-contents"]').on('click', function() {
118        var speed = 400;
119        var position = $(this).offset().top;
120        $('body, html').animate({ scrollTop: position }, speed, 'swing');
121        return false;
122    });
123});
124$(function() {
125        $('.slider').slick({
126            dots: true, //下の丸ぽっち(インジケーター)を表示 
127            autoplay: true, //自動再生 
128            autoplaySpeed: 5000 //自動再生の速度 
129            //ここにオプションを書いていく 
130        });
131    });

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.