PageSourceSearch

https://www.epta.jp/assets/js/sub.js

js epta.jp collected 2026-10-06 05:37:40 UTC 2,421 bytes, 101 lines download raw bytes

1/* //LOADIND SCREEN AND SLIDER SETTING
2$(document).ready(function () {
3  var url = window.location.href;
4  if($('body').hasClass('home')){
5  if (url.indexOf('#') > 0) {
6    $('#loading').hide();
7    $('html').addClass('frompage');
8    $('body').removeClass('loading');
9    var target = url.substr(url.indexOf('#'));
10    if (target != '#home') {
11      $(window).on('load', function () {
12        if (target == '#') {
13          var targetY = $('body').offset().top;
14        } else {
15          var targetY = $(target).offset().top;
16        }
17        var parent = $('html');
18        $(parent).animate(
19          { scrollTop: targetY },
20          400
21        );
22      });
23    }
24    $(document).ready(function() {
25    var flkty = new Flickity( '.main-slider', { 
26      cellAlign: "center",
27      imagesLoaded: true,
28      lazyLoad: 1,
29      wrapAround: true,
30      autoPlay: true,
31      autoPlay: 5000,
32      pauseAutoPlayOnHover: false,
33      prevNextButtons: false,
34      contain : true,
35      dragThreshold : 10,
36      percentPosition: true,
37      rightToLeft: false,
38      draggable: true,
39      selectedAttraction: 0.05,
40      parallax : 0,
41      fade: true,
42      friction: 1,
43      pageDots: false
44    });
45      });
46  } else {
47    
48    $('.main-visual-left .main-text .anim').removeClass('is-animated');
49    setTimeout(function () {
50      $('#loading').fadeOut(500);
51      $('.main-visual-left .main-text .anim').addClass('is-animated');
52    }, 2500);
53    setTimeout(function () {
54      var flkty = new Flickity( '.main-slider', {
55        cellAlign: "center",
56        imagesLoaded: true,
57        lazyLoad: 1,
58        wrapAround: true,
59        autoPlay: true,
60        autoPlay: 5000,
61        pauseAutoPlayOnHover: false,
62        prevNextButtons: false,
63        contain : true,
64        dragThreshold : 10,
65        percentPosition: true,
66        rightToLeft: false,
67        draggable: true,
68        selectedAttraction: 0.05,
69        parallax : 0,
70        fade: true,
71        friction: 1,
72        pageDots: false
73      });
74    }, 3000);
75    
76  }
77}
78});
79 */
80
81$(document).ready(function() {
82  $('.mv-slider.stop').slick({
83    settings: "unslick", //スライダーを無効
84  });
85});
86
87$(document).ready(function() {
88  $('.mv-slider').slick({
89    infinite: true,
90    slidesToShow: 1,
91    arrows:false,
92    dots:true,
93    autoplay:true,
94    speed: 1000,
95    fade: true,
96    cssEase: 'linear',
97    autoplaySpeed: 4000,
98  });
99});
100
101

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.