PageSourceSearch

https://www.beep-shop.com/java/preload.js

js beep-shop.com collected 2026-10-02 07:03:45 UTC 4,554 bytes, 129 lines download raw bytes

1jQuery(function($){
2	$('a[href^=#]').click(function(){
3		var speed = 500;
4		var href= $(this).attr("href");
5	if(href == "#prev" || href == "#next"){
6	}else{
7		var target = $(href == "#" || href == "" ? 'html' : href);
8		var position = target.offset().top;
9		$("html, body").animate({scrollTop:position}, speed, "swing");
10	}
11		return false;
12	});
13});
14
15jQuery(function($){
16    var ua = navigator.userAgent;
17    if(ua.indexOf('iPhone') > 0 && ua.indexOf('iPod') == -1 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0 || ua.indexOf('Windows Phone') > 0 || ua.indexOf('BlackBerry') > 0){
18        $('.tel-num').each(function(){
19            var str = $(this).html();
20            $(this).html($('<a>').attr('href', 'tel:0120549542').append(str + '</a>')); // 電話番号に間違えが無いか確認
21        });
22        $('.tel-num-ak').each(function(){
23            var str = $(this).html();
24            $(this).html($('<a>').attr('href', 'tel:0362069116').append(str + '</a>')); // 電話番号に間違えが無いか確認
25        });
26    }
27});
28
29jQuery(function($){
30  $(document).ready(function(){
31  if($('input#kit-radio-1').val()) {
32    $("input[name='time-zone']").prop('disabled',true);
33    $('select#lbox-count').prop('disabled',true);
34    $('select#mbox-count').prop('disabled',true);
35    $('select#sbox-count').prop('disabled',true);
36    }
37    /* ◯label = 'kit-radio-2' をクリックしたら実行 */
38    $("label[for = 'kit-radio-2']").click(function(){
39      /* ◯次の要素を出現させる */
40      $("input[name='time-zone']").prop('disabled',false);
41      $('select#lbox-count').prop('disabled',false);
42      $('select#mbox-count').prop('disabled',false);
43      $('select#sbox-count').prop('disabled',false);
44    })
45    $("label[for = 'kit-radio-1']").click(function(){
46      /* ◯隠す */
47      $('select#lbox-count').prop('disabled',true);
48      $('select#mbox-count').prop('disabled',true);
49      $('select#sbox-count').prop('disabled',true);
50      $("input[name='time-zone']").prop('disabled',true);
51      $('select#lbox-count').val('0');
52      $('select#mbox-count').val('0');
53      $('select#sbox-count').val('0');
54      $("input[name='time-zone']").prop("checked", false).checkboxradio("refresh");
55    })
56  });
57});
58
59jQuery(function($){
60  $(document).ready(function(){
61    $('.sbcontents').hide(); /* ◯ページ読み込み時はかくしておく */
62 /*    $('.sbcontents').eq(0).show(); ◯1つ目は出現させておく */
63 /*    $('.sbtitle').eq(0).addClass('open'); ◯1つ目は出現させておくときにクラスを付ける */
64    $('.sbtitle').click(function(){
65      $(this).next().slideToggle();
66      if($(this).is('.open')){
67        $(this).removeClass('open');
68      }else{
69        $(this).addClass('open')
70      }
71    })
72  });
73});
74
75// エンターキーでメールフォームの送信ができないようにする
76jQuery(function($){
77    $("input").on("keydown", function(e) {
78        if ((e.which && e.which === 13) || (e.keyCode && e.keyCode === 13)) {
79            return false;
80        } else {
81            return true;
82        }
83    });
84});
85
86// 価格表のページ送りをクリックしたら表の先頭へスクロールする
87window.addEventListener('DOMContentLoaded', function () {
88    // 状態保存用変数
89    let shouldScroll = false;
90    let targetWrapper = null;
91
92    // クリック前の状態を記録する(クラス変更前に動く)
93    window.addEventListener('mousedown', function (event) {
94        const button = event.target.closest('div[class*="paginate_"]');
95        if (!button) return;
96
97        const classList = button.classList;
98        const isEnabled =
99            classList.contains('paginate_enabled_next') ||
100            classList.contains('paginate_enabled_previous');
101
102        if (isEnabled) {
103            shouldScroll = true;
104            targetWrapper = button.closest('.dataTables_wrapper');
105        } else {
106            shouldScroll = false;
107            targetWrapper = null;
108        }
109    });
110
111    // 実際のクリック後にスクロール処理を実行
112    window.addEventListener('click', function (event) {
113        if (shouldScroll && targetWrapper) {
114            const offsetTop =
115                targetWrapper.getBoundingClientRect().top + window.pageYOffset;
116
117            window.scrollTo({
118                top: offsetTop,
119                behavior: 'smooth',
120            });
121
122            event.stopPropagation();
123        }
124
125        // 状態をリセット
126        shouldScroll = false;
127        targetWrapper = null;
128    });
129});

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.