PageSourceSearch

https://www.tonerjaws.com/view/asset/user-2-1-4-555503f8c2bb6d4b288ea13885e4b1cc.js

js tonerjaws.com collected 2026-10-08 21:29:11 UTC 3,012 bytes, 108 lines download raw bytes

1$(function() {
2    // ヘッダーのサイズ調整
3    headerAdjust();
4    $(window).on('scroll', function() {
5        headerAdjust();
6    });
7    
8    // カレンダー特定日の設定
9    $('.day-list').each(function() {
10        var month = $(this).attr('data-month');
11        var day = $(this).attr('data-day');
12        var color = $(this).attr('data-color');
13
14        $('.makeshop-calendar' + month +' .day' + day).css({
15            'background-color': color,
16            'color': '#fff',
17            'font-weight': 'bold',
18            'height': '14px'
19        });
20    });
21    
22    // 検索フォーム
23    $('.search-keyword, .search-price, .original-code').on('keypress', function(e) {
24        if (e.keyCode == 13) {
25            $('.search-url')[0].click();
26        }
27    });
28    
29    // ハンバーガーメニュー
30    $('.openbtn').on('click', function() {
31        $(this).toggleClass('active');
32        $('#g-nav').toggleClass('panelactive');
33    });
34    
35    // サイドメニューを閉じる
36    $('#g-nav a').on('click', function() {
37        $('.openbtn').removeClass('active');
38        $('#g-nav').removeClass('panelactive');
39    });
40    
41    // サイドメニューのカテゴリー開閉
42    $('.accordion').on('click', function() {
43        $(this).toggleClass('on').next().slideToggle();
44        $('.accordion').not(this).removeClass('on').next('.close').slideUp();
45    });
46
47});
48
49jQuery(window).on('load resize', function(){
50  if (window.matchMedia("(max-width: 768px)").matches) {
51    jQuery("#guide-area").addClass('sp-size');
52    jQuery(".tabbox").css('display','none');
53  } else {
54    jQuery("#guide-area").removeClass('sp-size');
55    jQuery(".tabbox").css('display','block');
56  };
57  
58});
59
60jQuery(document).on('click', '#guide-area.sp-size .child-block > h5', function(){
61    jQuery(this).find('+ div').slideToggle();
62    jQuery(this).toggleClass('on');
63});
64
65function headerAdjust() {
66    var adjustPoint = 20;
67    var scrollTop = $(window).scrollTop();
68    if(scrollTop > adjustPoint) {
69        $('.header').addClass('fix');
70    } else {
71        $('.header').removeClass('fix');
72    }
73}
74
75function MakeShop_afterListCartEntry(data){
76    if (!data.result) {
77        data.method.modal(data.error.message, function() {
78            location.href = '/view/item/' + data.systemCode;
79        });
80
81        return false;
82    }
83}
84
85function MakeShop_afterListFavoriteEntry(data) {
86    if (!data.result) {
87        data.method.modal(data.error.message);
88        return false;
89    }
90
91    $('a[href="' + data.source + '"]').addClass('hide').siblings('.favorite-on').removeClass('hide');
92
93    return false;
94}
95
96function MakeShop_afterListFavoriteRemove(data) {
97    if (!data.result) {
98        data.method.modal(data.error.message);
99        return false;
100    }
101
102    $('a[href="' + data.source + '"]').addClass('hide').siblings('.favorite-off').removeClass('hide');
103
104    return false;
105}
106
107
108

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.