October 31, 2011

jSCROLLPANE: Horizontal Scrolling with Scroll Wheel

I came across the issue that the track ball scrolling didn’t work with jScrollPane. I found the fix in a google group that the creator of jScrollPane Kelvin Luck gave himself ( http://tinyurl.com/3ku9d9b ). Here is the solution:  var element = $('.scroll-pane').jScrollPane();  var api = element.data('jsp');  element.bind(       'mousewheel',       function [...]