I am currently using Brandon Aaron's "jQuery Mousewheel"-script to invert the scrolling direction of a Page. I am very new to jQuery and would like to disable this script on mobile devices / for a resultion < 568px.
The binding of the Mousewheel is done as following:
$(document).ready(function() {
$('#maincontain').mousewheel(function(e, delta) {
this.scrollLeft -= (delta * 30);
e.preventDefault();
});
});
Any novice help would be very appreciated. Thanks!