PageSourceSearch

https://sakenoyamamoto.jp/view/asset/user-1-1-2-dcf9478ca6f489d875c940038f48c71e.js

js sakenoyamamoto.jp collected 2026-10-06 08:46:04 UTC 4,660 bytes, 134 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// ハンバーガーメニュー
16$(function() {
17    $('.menu-trigger').on('click', function() {
18        if ($(this).hasClass('active')) {
19            $(this).removeClass('active');
20            $('main').removeClass('open');
21            $('nav').removeClass('open');
22            $('.overlay').removeClass('open');
23        } else {
24            $(this).addClass('active');
25            $('main').addClass('open');
26            $('nav').addClass('open');
27            $('.overlay').addClass('open');
28        }
29    });
30    $('.overlay').on('click', function() {
31        if ($(this).hasClass('open')) {
32            $(this).removeClass('open');
33            $('.menu-trigger').removeClass('active');
34            $('main').removeClass('open');
35            $('nav').removeClass('open');      
36        }
37    });
38    $('.article-title').on('click', function() {
39        $(this).next().slideToggle(200);
40        $(this).toggleClass('open');
41    });
42});
43
44$(function () {
45  $(".openbtn1").click(function () {   // トリガーをクリックした時の条件分岐
46    if (! $(this).hasClass("active") ) {  // ナビを閉じるときの処理
47      $("html").removeClass("is-fixed");  // 背景固定解除!
48    } else {                              // ナビを開くときの処理
49      $("html").addClass("is-fixed");     // 背景固定!
50    }
51  });
52});
53
54// 検索ボックス
55$(function() {
56    $('.search-keyword').on('keypress', function(e) {
57        if (e.keyCode == 13) {
58            var index = $('.search-keyword').index(this);
59            $('.search-url')[index].click();
60        }
61    });
62    
63//    $('.search-icon').on('click', function() {
64//       $('.search-box').animate({ width: 'toggle' }, 'slow');
65//    });
66    
67//    $('.close').on('click', function() {
68//        $('.search-box').fadeOut('slow');  
69//    });
70});
71
72$(".search_submitButton").on('click',function(){
73    location.href = "#makeshop-common-search-url";
74});
75
76$('.headacd_check').on('click', function(){
77    if ($(this).prop('checked')){
78        $('.headacd_check').prop('checked', false);  //  全部のチェックを外す
79        $(this).prop('checked', true);  //  押したやつだけチェックつける  
80    } else {
81        $('.headacd_check').prop('checked', false);  //  全部のチェックを外す 
82    }
83});
84
85$(function() {
86    $('a[href="#start-contents"]').on('click', function() {
87        var speed = 400;
88        var position = $(this).offset().top;
89        $('body, html').animate({ scrollTop: position }, speed, 'swing');
90        return false;
91    });
92});
93
94  $(function(){
95      $.ajaxSetup({cache:false});
96      $("div.include_sak_new").load("/view/search?search_category=cat_sak10001 include");
97  });
98  $(function(){
99      $.ajaxSetup({cache:false});
100      $("div.include_sho_new").load("/view/search?search_category=cat_sho08001 include");
101  });
102  $(function(){
103      $.ajaxSetup({cache:false});
104      $("div.include_liq_new").load("/view/search?search_category=cat_liq05001 include");
105  });
106
107
108//検索
109$(function() {    
110    $.getJSON("/view/page/item.json", (jsonData) => {
111 
112        var itemid = "";
113        var selector1 = "";
114        var selector2 = "";
115        var selector3 = "";
116        var selector4 = "";
117
118        for (var i in jsonData) {
119            itemid = jsonData[i]["id"];
120            if(jsonData[i]["tag7"] =="1"){
121                selector1= "." + itemid + " a div.item_infobox a div.item_pice_area div.item_tags"
122                $(selector1).css("height","30px");
123                selector2= "." + itemid + " a div.item_infobox a div.item_pice_area div.item_tags div.itempref_numberlimit"
124                $(selector2).css("display","block");              
125            }
126            if(jsonData[i]["tag8"] =="1"){
127                selector3= "." + itemid + " a div.item_infobox a div.item_pice_area div.item_tags"
128                $(selector3).css("height","30px");
129                selector4= "." + itemid + " a div.item_infobox a div.item_pice_area div.item_tags div.itempref_spanlimit"
130                $(selector4).css("display","block");              
131            }
132        }
133    });
vendor: 3 bytes, line 134
134});

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.