Documentation does not list some, but iScroll v5.1.1 has extra options, like:
- mouseWheel
- disableMouse
- disablePointer
- disableTouch
You can set all of them to false/true and no interaction with mouse, touchpad our touching screen wont be processed.
To change slides with arrows, you can use these methods:
- next()
- prev()
or better
- goToPage( x, y )
To slide from page to page, you should set snap option to match elements you describe as page. In your case options could look like this:
var options = {
snap: 'li', // your page selector
snapThreshold: 0.1,
mouseWheel: false,
disableMouse: true,
disablePointer: true,
disableTouch: true
};
var scroll = new IScroll('#navigation_scroller', options);
Now just attach events on arrows to call scroller.goToPage(x, y)
accordingly.
X and Y represents "page" number (in your case <li>
order number). To get current page position, you should read scroller.currentPage.pageY
or scroller.currentPage.pageX
accordingly.
This should help you achieve your desired behaviour of your project.