PageSourceSearch

https://merrily.jp/wp-content/themes/merrily_v1.0/assets/js/top.js

js merrily.jp collected 2026-09-29 14:54:55 UTC 1,436 bytes, 65 lines download raw bytes

1$(function() {
2
3  function checkBreakPoint() {
4    windowWidth = $(window).width();
5    if (windowWidth <= 767) {
6      $('.js-latest-post-slide').not('.slick-initialized').slick({
7        slidesToShow: 1,
8        slidesToScroll: 1,
9        arrows: true,
10        // autoplay: true,
11        // autoplaySpeed: 6000、
12        infinite: true,
13        variableWidth: true
14      });
15    } else {
16      $('.js-latest-post-slide.slick-initialized').slick('unslick');
17    }
18  }
19  
20  // ウインドウがリサイズする度にチェック
21  $(window).resize(function(){
22    checkBreakPoint();
23  });
24  // 初回チェック
25  checkBreakPoint();
26
27  // TOP Latest
28  $('.js-latest-list-more-trg').on('click', function () {
29    windowWidth = $(window).width();
30    $(this).fadeOut();
31    if (windowWidth >= 768) {
32      $('.latest-list__item:nth-child(n+5)').fadeIn();
33    }
34    return false;
35  });
36
37
38  // TOP SLIDE
39  $('.js-top-mv-slide-01').slick({
40    autoplay: true,
41    autoplaySpeed: 2500,
42    arrows: false,
43    // asNavFor: '.js-top-mv-slide-02',
44    dots: false,
45    fade: true,
46    speed: 2000,
47    swipe: false,
48    pauseOnHover: false,
49    pauseOnFocus: false,
50  });
51
52  $('.js-top-mv-slide-02').slick({
53    autoplay: true,
54    autoplaySpeed: 3500,
55    arrows: false,
56    // asNavFor: '.js-top-mv-slide-01',
57    dots: false,
58    fade: true,
59    speed: 2000,
60    swipe: false,
61    pauseOnHover: false,
62    pauseOnFocus: false,
63  });
64
65});

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.