$(function(){ var $arrows = $('.arrows'); //main_slider $('#mv-slider').on('init', function(event, slick){ $('#mv-slider .current').text(slick.currentSlide + 1); $('#mv-slider .total').text(slick.slideCount); }).slick({ arrows: false, fade: true, dots: true, autoplay: true, autoplaySpeed: 1500, speed: 4000, appendArrows: $('#mv-slider .box_thum').find($arrows), prevArrow: '