bxSlider 예제5. 캐러셀

2016. 7. 22. 23:18bxSlider/예제

반응형

5. Carousels demystified - in depth explanation with examples

JS:
$(document).ready(function(){ $('.slider4').bxSlider({ slideWidth: 250, minSlides: 2, maxSlides: 3, moveSlides: 1, slideMargin: 10 }); });
HTML:
<div class="slider4"> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar1"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar2"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar3"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar4"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar5"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar6"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar7"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar8"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar9"></div> <div class="slide"><img src="http://placehold.it/250x150&text=FooBar10"></div> </div>
반응형