XF 2.1 Show multiple items at once in slider / carousel

FloV

Well-known member
Hey there,

let's take the notifications for example. I would like to show mutiple notifications at once and i'm not sure how to pass that to the slider.

On the Github page of lightslider (http://sachinchoolur.github.io/lightslider/examples.html) i've seen that there is a setting for shown items at once. In the /js/carousel.js file in line 73 - 74 it says the following:

Code:
this.slider = this.$target.lightSlider({
                item: options.items,

So, my question is: How can i pass options.items to the carousel.js?

Thanks in advance for your help. :)

Flo
 
I have the same question about this, did you make it? I know this is 2 years
Yes, I just tested it, and it worked perfectly. I’d like to mention one thing regarding caching: when you change the number, like show4 or show5, try checking it in a private window. The changes might not reflect immediately due to JavaScript caching.
 
Back
Top Bottom