I've been using brandon aarons mousewheel plugin and is working on webkit browsers HOWEVER it doesn't work on firefox.
this was the original code for brandon aaron's which is great on webkit
$('body').on('mousewheel', function(event, delta){
this.scrollLeft -= (delta*30);
event.preventDefault();
});
so i switched to http://cobbweb.me/blog/2012/03/30/jquery-mousewheel-plugin-version-2/ which is supposed to work on firefox, tried the code which is this
$('body').on('mousewheel', function(event, delta, deltaX, deltaY){
event.preventDefault();
});
I tried to put the scrollLeft in there with deltaY replaced and DOMMouseScroll or MozMousePixelScroll but still to no avail. How do I make this work to bind on mousewheel so that my page scrolls horizontally on firefox?
thanks!