Javascript Image Slider > Posts >

 

Multiple Sliders

Charlie
9 months ago
Viewed: 821
2
Useful

I currently have two sliders on my site with different sizes. The first slider is functioning perfectly. My second slider shows the images and transitions perfectly, but when I click the next/prev error a javascript error of 'k' is null or not an object is thrown.



9 months ago
milo   Edit
1

I noticed the slider is now imageSlider2, but in your page you are calling  imageSlider.previous() and imageSlider.next() for next/prev. Please try imageSlider2.previous() and imageSlider2.next().

9 months ago
Charlie   Edit
0

Thank you Milo! That was my problem!

New Answer