$(function(){ "use strict"; /* var mainSlider = "#slider"; var thumbnailSlider = "#carousel"; $(mainSlider).slick({ autoplay: false, arrows: false, asNavFor: thumbnailSlider }); $(thumbnailSlider).slick({ slidesToShow: 7, asNavFor: mainSlider, pauseOnFocus: false, pauseOnHover: false, focusOnSelect: true, centerMode: true, centerPadding: 0, responsive: [ { breakpoint: 640, settings: { slidesToShow: 4 } },{ breakpoint: 480, settings: { slidesToShow: 3 } } ] }); $('#slider').on('beforeChange', function(event, slick, currentSlide, nextSlide){ if ($('#carousel .thumbnail-item').length < 7) { $('.thumbnail-item').slick('slickSetOption', 'centerMode', true, true); } }); */ /* $('#slider_photo').sliderPro({ width: '100%', autoHeight:true, responsive:true, slideDistance:0, heightAnimationDuration:0, arrows: true, buttons: false, autoplay: false, thumbnailWidth: 126, thumbnailHeight: 116, thumbnailArrows:false, thumbnailTouchSwipe:true, });*/ /*$('#carousel').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, itemWidth: 128, itemMargin: 5, asNavFor: '#slider' }); $('#slider').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, sync: "#carousel" });*/ /*$('#slider_photo').bxSlider({ pagerCustom: '#slider_thumb', controls:false }); $('.slider_thumb').bxSlider({ pager:false, minSlides: 4, maxSlides: 4, slideWidth: 128, slideMargin: 10, nextSelector: '#NextIcon', prevSelector: '#PrevIcon' });*/ $('#slider_floorplan').slick({ slidesToShow:2, slidesToScroll:1, infinite:false, responsive:[ { breakpoint: 640, settings:{ slidesToShow:1, } } ], }); });