Lean-Slider
Lean-Slider copied to clipboard
Loading images for multiple Sliders
I was able to place three sliders on the same page by adding ID's, but once uploaded to my server (Works fine on my own pc) I can't get images to load past the first slider. Is there any way to make this work?.

Hi @Gantrof Did you manage to fix it?
If anyone encounters similar issue, I managed to fix it using this snippet(there is a better way but it works):
sliders = $('.sliders')
_.each(sliders, (slider) ->
$(slider).leanSlider
directionNav: $(slider).siblings('.slider-direction-nav')
controlNav: $(slider).siblings('.slider-control-nav')
)
It is written in coffee-script but you get the idea.