$(function() { var $w =$(window).width(); var e = window,a = 'inner'; if (!('innerWidth' in window )) { a = 'client'; e = document.documentElement || document.body; } var w = e[ a+'Width']; $(".slick_bar").slick({autoplay:!0,arrows:0,dots:!0,pauseOnDotsHover:true,pauseOnFocus:false,pauseOnHover:false }); $(".tab_wrap").slide({effect:"leftLoop",titCell:'.hd a',mainCell:'.bd'}); $(".slick_news").slick({autoplay:!0,dots:true,pauseOnDotsHover:true,pauseOnFocus:false,pauseOnHover:false,fade: true,speed: 900,infinite: true,cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)',touchThreshold: 100 }); $(".slick_acty").slick({autoplay:true,slidesToShow:2,slidesToScroll: 1,pauseOnDotsHover:true,pauseOnFocus:false,pauseOnHover:false,centerMode: true,centerPadding: '0',responsive: [{ breakpoint:768, settings: { slidesToShow:1 } }] }); $(".slick_topic").slick({autoplay:true,slidesToShow:5,slidesToScroll: 1,pauseOnDotsHover:true,pauseOnFocus:false,pauseOnHover:false,centerMode: true,centerPadding: '0',responsive: [{ breakpoint:1601, settings: { slidesToShow:4 } },{ breakpoint:1401, settings: { slidesToShow:3 } },{ breakpoint:1300, settings: { slidesToShow:4 } },{ breakpoint:768, settings: { slidesToShow:2 } }] }); })