PageSourceSearch

https://www.tsuruyagolf.co.jp/tsuruya-wp/wp-content/themes/tsuruya_v2025-10/js/shop.js?1762979746

js tsuruyagolf.co.jp collected 2026-10-02 06:15:10 UTC 1,368 bytes, 71 lines download raw bytes

1/**
2 * shop
3 */
4
5/**
6 * functions by shop
7 */
8const SHOP = {
9  selectPlaceholder: function($element){
10    $element.removeClass('is-empty');
11    if($element.prop('selectedIndex') === 0){
12      $element.addClass('is-empty');
13    }
14  },
15  detailSqSlider: function(){
16    if($('.banner-slide').html()){
17      
18      $('.banner-slide').slick({
19        infinite: true,
20        dots:true,
21        slidesToShow: 5,
22        slidesToScroll: 5,
23        autoplay:true,
24        arrows: false,
25        responsive: [{
26          breakpoint: 1099,
27            settings: {
28              slidesToShow: 4,
29              slidesToScroll: 4,
30          }
31        },{
32          breakpoint: 800,
33            settings: {
34              slidesToShow: 3,
35              slidesToScroll: 3,
36          }
37        },{
38          breakpoint: 480,
39            settings: {
40              slidesToShow: 2,
41              slidesToScroll: 2,
42            }
43          }
44        ]
45      });
46
47    }
48  },
49}
50
51/**
52 * ドキュメントイベント
53 */
54$(document)
55  .ready(function(){
56    if($('.shop-search select').html()){
57      $('.shop-search select').each(function(){
58        SHOP.selectPlaceholder($(this));
59      });
60    }
61  })
62  .on('change', '.shop-search select', function(){
63    SHOP.selectPlaceholder($(this));
64  });
65
66/**
67 * windowイベント
68 */
69$(window).on('load',function(){
70  SHOP.detailSqSlider();
71})

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.