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
 
Top Bottom