最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - BxSlider Carousel - Changing one by one - Stack Overflow

matteradmin5PV0评论

I am using BxSlider Carousel in my project. Here is the link from bxslider;

I am using the vertical one. What I want to adjust and achieve there is to change the slides one by one when clicking the Next - Prev buttons. It changes two of them or three of them according to our determination on how many of them we want to show at the same time. I hope I could express the problem well.

Thanks in advance

I am using BxSlider Carousel in my project. Here is the link from bxslider;

http://bxslider./examples/carousel-demystified

I am using the vertical one. What I want to adjust and achieve there is to change the slides one by one when clicking the Next - Prev buttons. It changes two of them or three of them according to our determination on how many of them we want to show at the same time. I hope I could express the problem well.

Thanks in advance

Share Improve this question asked Mar 10, 2015 at 15:47 ErkanErkan 411 silver badge11 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 3

see http://bxslider./options , Carousel section; moveSlides parameter. It allows you to determine how many slides you want to move at once.

moveSlides The number of slides to move on transition. This value must be >= minSlides, and <= maxSlides. If zero (default), the number of fully-visible slides will be used.

$('.bxslider').bxSlider({
  moveSlides: 1
});
Post a comment

comment list (0)

  1. No comments so far