bux23
2/16/2017 - 10:29 AM

lightslider implementation

lightslider implementation

////////////////////////////////////////////////////////////////////////////////
//LIGHTSLIDER
////////////////////////////////////////////////////////////////////////////////
//include http://sachinchoolur.github.io/lightslider/examples.html

 jQuery(document).ready(function($) {
    $('#feat-slide').lightSlider({
        item:6,
        auto:true,
        pauseOnHover: true,
        loop:true,
        slideMove:1,
        enableTouch:true,
        enableDrag:true,
        easing: 'cubic-bezier(0.25, 0, 0.25, 1)',
        speed:600,
        controls: true,
        pause: 4000,
        vertical: false,
        responsive : [
            {
                breakpoint:800,
                settings: {
                    item:4,
                    slideMove:1,
                    slideMargin:6,
                  }
            },
            {
                breakpoint:480,
                settings: {
                    item:2,
                    slideMove:1
                  }
            }
        ]
    });  
  });