bxSlider(21)
-
bxSlider 예제19. Reload slider with new settings
19. Reload slider with new settings Click to reload slider with new settings JS: var slider = $('.bxslider').bxSlider({ mode: 'horizontal' }); $('#reload-slider').click(function(e){ e.preventDefault(); slider.reloadSlider({ mode: 'fade', auto: true, pause: 1000, speed: 500 }); }); HTML: Click to reload slider with new settings
2016.07.22 -
bxSlider 예제18. Reload slider
18. Reload slider Click to add a slide, then reload the slider JS: var slider = $('.bxslider').bxSlider({ mode: 'horizontal' }); $('#reload-slider').click(function(e){ e.preventDefault(); $('.bxslider').append(''); slider.reloadSlider(); }); HTML: Click to add a slide, then reload the slider
2016.07.22 -
bxSlider 예제17. Custom easing
17. Custom easing JS: $('.bxslider').bxSlider({ mode: 'horizontal', useCSS: false, infiniteLoop: false, hideControlOnEnd: true, easing: 'easeOutElastic', speed: 2000 }); HTML:
2016.07.22 -
bxSlider 예제16. 계속 슬라이드 (Ticker mode)
16. Ticker mode JS: $('.bxslider').bxSlider({ minSlides: 4, maxSlides: 4, slideWidth: 170, slideMargin: 10, ticker: true, speed: 6000 }); HTML:
2016.07.22 -
bxSlider 예제15. Responsive video
15. Responsive video JS: $('.bxslider').bxSlider({ video: true, useCSS: false }); HTML:
2016.07.22 -
bxSlider 예제14. Public methods
14. Public methods Click me to go to the next slide Click me to see the total slide count JS: var slider = $('.bxslider').bxSlider({ mode: 'fade' }); $('#slider-next').click(function(){ slider.goToNextSlide(); return false; }); $('#slider-count').click(function(){ var count = slider.getSlideCount(); alert('Slide count: ' + count); return false; }); HTML: Click me to go to the next slide Click me..
2016.07.22