1$(function () { 2 //slick 3 $('.wrap_spots_contents').slick({ 4 autoplay: true, 5 autoplaySpeed: 3000, 6 centerMode: true, 7 centerPadding: '10%', 8 dots: true, 9 slidesToShow: 3, 10 responsive: [ 11 { 12 breakpoint: 769, //769px以ä¸ã®ãµã¤ãºã«é©ç¨ 13 settings: { 14 arrows: false, 15 slidesToShow: 1, 16 }, 17 }, 18 ], 19 }); 20 21 $('.wrap_keyimage .slider').on('init', function () { 22 $('.wrap_keyimage .slick-slide[data-slick-index="0"]').addClass('slick-animation'); 23 }) 24 .slick({ 25 infinite: true, 26 slidesToShow: 1, 27 slidesToScroll: 1, 28 arrows: true, 29 fade: true, 30 speed: 1500, 31 autoplaySpeed: 6000, 32 autoplay: true, 33 prevArrow: '<img src="https://shiso.or.jp/wpapp/wp-content/themes/shiso2022/images/top/slick_arrow01_pc.png" class="slide-arrow prev-arrow">', 34 nextArrow: '<img src="https://shiso.or.jp/wpapp/wp-content/themes/shiso2022/images/top/slick_arrow02_pc.png" class="slide-arrow next-arrow">', 35 responsive: [ 36 { 37 breakpoint: 769, //769px以ä¸ã®ãµã¤ãºã«é©ç¨ 38 settings: { 39 arrows: false, 40 }, 41 }, 42 ], 43 }) 44 .on({ 45 // ã¹ã©ã¤ããç§»åããåã«çºçããã¤ãã³ã 46 beforeChange: function (event, slick, currentSlide, nextSlide) { 47 //表示ããã¦ããã¹ã©ã¤ãã«.slick-animationã®ã¯ã©ã¹ãã¤ãã 48 $(".slick-slide", this).eq(nextSlide).addClass("slick-animation"); 49 50 //ãã¨ã§ã.slick-animationã®ã¯ã©ã¹ãæ¶ãããã®.stop-animationã¯ã©ã¹ãä»ãã 51 $(".slick-slide", this).eq(currentSlide).addClass("stop-animation"); 52 }, 53 // ã¹ã©ã¤ããç§»åããå¾ã«çºçããã¤ãã³ã 54 afterChange: function () { 55 //è¦ãã¦ãªãã¹ã©ã¤ãã«ã¯ã¢ãã¡ã¼ã·ã§ã³ã®ã¯ã©ã¹ãå¤ã 56 $(".stop-animation", this).removeClass("stop-animation slick-animation"); 57 }, 58 }); 59 60 // ã¿ã°çæ 61 62 $(".mask").wrap("<div class='mask-wrap'>"); 63 $(".mask").append("<div class='mask-bg'></div>"); 64 65 $(window).scroll(function(){ 66 var top = $(".tour_contents01").offset().top; // ã¿ã¼ã²ããã®ä½ç½®åå¾ 67 var position = top - $(window).height(); // çºç«ããããä½ç½® 68 if($(window).scrollTop() > position){ 69 $('.tour_contents01').find('.tour_text,.img_tour').fadeIn(3000); 70 $('.tour_contents01').find('.mask').stop().animate({ 71 "top": "0%" 72 }, function () { 73 $(this).find(".mask-bg").stop().animate({ 74 "top": "100%" 75 }, "fast"); 76 }); 77 } 78 79 var top = $(".tour_contents02").offset().top; // ã¿ã¼ã²ããã®ä½ç½®åå¾ 80 var position = top - $(window).height(); // çºç«ããããä½ç½® 81 if($(window).scrollTop() > position){ 82 $('.tour_contents02').find('.tour_text,.img_tour').fadeIn(3000); 83 $('.tour_contents02').find('.mask').stop().animate({ 84 "top": "0%" 85 }, function () { 86 $(this).find(".mask-bg").stop().animate({ 87 "top": "100%" 88 }, "fast"); 89 }); 90 } 91 92 var top = $(".tour_contents03").offset().top; // ã¿ã¼ã²ããã®ä½ç½®åå¾ 93 var position = top - $(window).height(); // çºç«ããããä½ç½® 94 if($(window).scrollTop() > position){ 95 $('.tour_contents03').find('.tour_text,.img_tour').fadeIn(3000); 96 $('.tour_contents03').find('.mask').stop().animate({ 97 "top": "0%" 98 }, function () { 99 $(this).find(".mask-bg").stop().animate({ 100 "top": "100%" 101 }, "fast"); 102 }); 103 } 104 105 var top = $(".tour_contents04").offset().top; // ã¿ã¼ã²ããã®ä½ç½®åå¾ 106 var position = top - $(window).height(); // çºç«ããããä½ç½® 107 if($(window).scrollTop() > position){ 108 $('.tour_contents04').find('.tour_text,.img_tour').fadeIn(3000); 109 $('.tour_contents04').find('.mask').stop().animate({ 110 "top": "0%" 111 }, function () { 112 $(this).find(".mask-bg").stop().animate({ 113 "top": "100%" 114 }, "fast"); 115 }); 116 } 117 }); 118 119});
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.