Answer the question
In order to leave comments, you need to log in
Why doesn't scrolling the slider with the mouse work in the parallax slider?
Slider demo
Here's my script, which is supposed to scroll the slides with the mouse wheel, but why doesn't it work. Where is the problem?
Perhaps the button names are not navNext, navPrev for this slider?
$(document).ready(function () {
$('#da-slider').cslider();
$('#da-slider').mousewheel(function(e) {
e.preventDefault();
if (e.deltaY < 0) {
$(this).cslider('navNext');
} else {
$(this).cslider('navPrev');
}
});
});
Answer the question
In order to leave comments, you need to log in
Use slick , it's responsive plus there is a breakpoint .
Also it is in bower
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question