[bxslider.js] 3개 출력 슬라이드에서 startSlide -1 오류
$('.photo .slide').each(function(index){ var $thisObj = $(this); var totalCount = new Array(); totalCount[index] = $thisObj.find('li').length; totalN = totalCount - 1; $thisObj.bxSlider({ auto: false, pager: false, controls: true, minSlides: 3, maxSlides: 3, moveSlides: 1, startSlide: totalN, slideWidth: 1100, slideHeight: 800, slideMargin: 100, nextSelector: '#slider-next2', prevSelector: '#sli..
2020. 4. 6.
[bxslider.js] current, total index값 얻기
var mainSlider = $('.mainSlide > .slider').bxSlider({ auto: true, pause: 2000, pager: false, controls: true, autoControls: true, stopAutoOnClick: true, //prev, next 누르면 stop됨 autoControlsCombine: true, autoControlsSelector: '#main-control .stop', prevSelector: '#main-control .prev', nextSelector: '#main-control .next', infiniteLoop: true, onSlideBefore: function ($slideElement, oldIndex, newInde..
2020. 4. 6.