1(function($){ 2 $(document).ready(function(){ 3 $('.siteBanner__slider').slick({ 4 infinite: true, 5 slidesToShow: 1, 6 slidesToScroll: 1, 7 prevArrow: '<i class="fas fa-long-arrow-alt-left"></i>', 8 nextArrow: '<i class="fas fa-long-arrow-alt-right"></i>', 9 dots: false, 10 arrows: false, 11 autoplay: true, 12 autoplaySpeed: 2000, 13 pauseOnHover:true, 14 }); 15 16 $('.events_slider').slick({ 17 infinite: true, 18 slidesToShow: 3, 19 slidesToScroll: 1, 20 prevArrow: '<i class="far fa-angle-left"></i>', 21 nextArrow: '<i class="far fa-angle-right"></i>', 22 dots: false, 23 arrows: true, 24 responsive: [ 25 { 26 breakpoint: 900, 27 settings: { 28 slidesToShow: 2, 29 slidesToScroll: 1, 30 arrows: true, 31 } 32 }, 33 { 34 breakpoint: 767, 35 settings: { 36 slidesToShow: 2, 37 slidesToScroll: 1, 38 arrows: false, 39 dots: true, 40 } 41 }, 42 { 43 breakpoint: 480, 44 settings: { 45 slidesToShow: 1, 46 slidesToScroll: 1, 47 arrows: false, 48 dots: true, 49 } 50 } 51 ] 52 }); 53 54 $('.currentPrograms_slider').slick({ 55 infinite: true, 56 slidesToShow: 3, 57 slidesToScroll: 1, 58 prevArrow: '<i class="far fa-angle-left"></i>', 59 nextArrow: '<i class="far fa-angle-right"></i>', 60 dots: false, 61 arrows: true, 62 responsive: [ 63 { 64 breakpoint: 900, 65 settings: { 66 slidesToShow: 2, 67 slidesToScroll: 1, 68 arrows: true, 69 } 70 }, 71 { 72 breakpoint: 767, 73 settings: { 74 slidesToShow: 2, 75 slidesToScroll: 1, 76 arrows: false, 77 dots: true, 78 } 79 }, 80 { 81 breakpoint: 480, 82 settings: { 83 slidesToShow: 1, 84 slidesToScroll: 1, 85 arrows: false, 86 dots: true, 87 } 88 } 89 ] 90 }); 91 92 93 // let logoRef = $('.logoBox'); 94 // const settings = { 95 // responsive: [ 96 // { 97 // breakpoint: 2000, 98 // // settings: "unslick" 99 // }, 100 // { 101 // breakpoint: 767, 102 // settings: { 103 // slidesToShow: 2, 104 // slidesToScroll: 2, 105 // dots: true, 106 // arrows: false, 107 // //autoplay: true, 108 // autoplaySpeed: 2500, 109 // initialSlide: Math.floor(Math.random() * 11), 110 // } 111 // },{ 112 // breakpoint: 375, 113 // settings: { 114 // slidesToShow: 1, 115 // slidesToScroll: 1, 116 // dots: true, 117 // arrows: false, 118 // //autoplay: true, 119 // autoplaySpeed: 2500, 120 // initialSlide: Math.floor(Math.random() * 11), 121 // } 122 // } 123 // ] 124 // } 125 126 //const sl = logoRef.slick(settings); 127 128 // $(window).on("resize", function (e) { 129 // checkScreenSize(); 130 // }); 131 // checkScreenSize(); 132 // function checkScreenSize(){ 133 // var newWindowWidth = $(window).width(); 134 // if (newWindowWidth < 767 ) { 135 // setTimeout(function(){ 136 // logoRef.slick(settings).on('init', function(event, slick, direction){ 137 // //console.log(event, slick, direction); 138 // }); 139 // }, 1000); 140 // } 141 // else{ 142 // setTimeout(function(){ 143 // logoRef.slick('unslick'); 144 // }, 1000); 145 146 // } 147 // } 148 149 /**************Tab Start ****************/ 150 151 /******Tab List *****/ 152 // $('#tabNavs > li').on('click', function(e){ 153 // e.preventDefault(); 154 // $(this).find(".card").addClass('active').parent('li').siblings().children('div').removeClass('active'); 155 // const value = $(this).attr('data-filter'); 156 // let $stufBox = $('.staff__boxes'); 157 // if(value == 'all'){ 158 // $stufBox.show('600'); 159 // }else{ 160 // $stufBox.not('.'+value).hide('600'); 161 // $stufBox.filter('.'+value).show('600'); 162 // } 163 // }); 164 /******Tab Select *****/ 165 166 // $('#tabSelect').on('change', function(e){ 167 // e.preventDefault(); 168 // var value = $(this).children("option:selected").attr('data-filter'); 169 // //console.log(value); 170 // let $stufBox = $('.staff__boxes'); 171 // if(value == 'all'){ 172 // $stufBox.show('600'); 173 // }else{ 174 // $stufBox.not('.'+value).hide('600'); 175 // $stufBox.filter('.'+value).show('600'); 176 // } 177 // }); 178 179 /**************Tab List End ****************/ 180 181 //******************************Related Post Slider 182 183 184 }); 185})(jQuery)
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.