1jQuery(function($) { 2 slickWorksGallery(); 3 slickTopMv(); 4 slickTopWorks(); 5 slickMansionRenovation(); 6 7 function slickWorksGallery() { 8 $('#works-gallery').on("init", function (event, slick) { 9 $(this).parent().append( 10 '<div class="slick-counter"><span class="count-current"></span> / <span class="count-total"></span></div>' 11 ); 12 $(".count-current").text(slick.currentSlide + 1); 13 $(".count-total").text(slick.slideCount); 14 }); 15 $('#works-gallery').slick({ 16 dots: false, 17 infinite: true, 18 slidesToShow: 1, 19 slidesToScroll: 1, 20 arrows: true, 21 fade: true, 22 speed: 350, 23 asNavFor: '#works-gallery-nav' 24 }); 25 $('#works-gallery').on("beforeChange", function (event, slick, currentSlide, nextSlide) { 26 $(".count-current").text(nextSlide + 1); 27 }); 28 $('#works-gallery-nav').slick({ 29 vertical: true, 30 verticalSwiping: true, 31 accessibility: true, 32 autoplay: true, 33 autoplaySpeed: 5000, 34 speed: 350, 35 arrows: false, 36 infinite: true, 37 slidesToShow: 5, 38 slidesToScroll: 1, 39 asNavFor: '#works-gallery', 40 focusOnSelect: true, 41 responsive: [ 42 { 43 breakpoint: 767, 44 settings: { 45 vertical: false, 46 verticalSwiping: false, 47 slidesToShow: 4, 48 }, 49 }, 50 ], 51 }); 52 } 53 54 function slickTopMv() { 55 $('#top-mainvisual').slick({ 56 slidesToShow: 1, 57 centerMode: false, 58 autoplay: true, 59 autoplaySpeed: 2000, 60 fade: true, 61 speed: 1000, 62 dots: false, 63 arrows: false, 64 }); 65 } 66 67 function slickTopWorks() { 68 $('#top-works-slider').slick({ 69 slidesToShow: 4, 70 centerMode: true, 71 pauseOnHover: true, 72 autoplay: true, 73 autoplaySpeed: 3000, 74 speed: 3000, 75 // cssEase: "linear", 76 dots: false, 77 arrows: false, 78 responsive: [{ 79 breakpoint: 767, 80 settings: { 81 slidesToShow: 2, 82 } 83 }], 84 }); 85 } 86 87 function slickMansionRenovation() { 88 $('#renovation-gallery').slick({ 89 slidesToShow: 1, 90 centerMode: false, 91 autoplay: true, 92 autoplaySpeed: 2000, 93 fade: true, 94 speed: 1000, 95 dots: true, 96 arrows: false, 97 }); 98 } 99 100});
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.