스크립트에서 전환되는 방법 수정이요~

스크립트에서 전환되는 방법 수정이요~

QA

스크립트에서 전환되는 방법 수정이요~

본문



$(document).ready(function(){
    $('.main_location_slide').slick({
        slidesToShow: 1,
        centerPadding: "0",
        dots: true,
        arrows: true,
        centerMode: true,
        autoplay: true,
        speed: 800,
        pauseOnHover: false,
        pauseOnFocus: false,
        autoplaySpeed: 3000,
        responsive: [
            {
                breakpoint: 1700,
                settings: {
                    centerPadding: "0",
                }
            },
            {
                breakpoint: 1600,
                settings: {
                    slidesToShow: 1,
                    centerPadding: "0",
                }
            },
            {
                breakpoint: 1500,
                settings: {
                    slidesToShow: 1,
                    centerPadding: "0",
                }
            },
            {
                breakpoint: 1400,
                settings: {
                    slidesToShow: 1,
                    centerPadding: "0",
                }
            },
            {
                breakpoint: 1300,
                settings: {
                    slidesToShow: 1,
                    centerPadding: "0",
                }
            },
            {
                breakpoint: 1200,
                settings: {
                    slidesToShow: 1,
                     centerPadding: "0",
                }
            },
            {
                breakpoint: 1024,
                settings: {
                    slidesToShow: 1,
                    centerPadding: "0",
                }
            },
            {
                breakpoint: 992,
                settings: {
                    slidesToShow: 1,
                    centerPadding: "0",
                }
            }
        ]
    });
    var mainlocationSlideLength = $('.main_location_slide .slick-dots li').length,
        mainlocationSlideDotsWidth = (1 / mainlocationSlideLength) * 100 + "%";
    $('.main_location_slide .slick-dots li').css({
        "width": mainlocationSlideDotsWidth
    });
    $('.main_location_slide').on('breakpoint', function(event, slick){
        var mainlocationSlideLength = $('.main_location_slide .slick-dots li').length,
            mainlocationSlideDotsWidth = (1 / mainlocationSlideLength) * 100 + "%";
        $('.main_location_slide .slick-dots li').css({
            "width": mainlocationSlideDotsWidth
        });
    });
});
 
 

 

현재 슬라이드 형태로 되어 있는데 fade 형태로 바꿀려면 어떻게 해야 하나요?

이 질문에 댓글 쓰기 :

답변 2

답변을 작성하시기 전에 로그인 해주세요.
전체 0 | RSS
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT