jScrollPane Mouse scrolling speed

Hello Experts,

I am editing a page that uses the jScrollPane on a DIV (http://jscrollpane.kelvinluck.com/).

While searching for slowing the scroll speed (mouse scrolling speed) I see many result with the same answer e.g. http://alvinalexander.com/blog/post/jfc-swing/how-increase-speed-jscrollpane-mouse-wheel

How can integrate this line of code and where.


Open in new window

Who is Participating?
Rainer JeschorConnect With a Mentor Commented:
it seems that there is a language match/mismatch. The link you referenced is from the Java Swing library:
which includes a class which has the same name as the jQuery plugin.
Do you have a link to your problematic page?
I tried to setup a small sample here:

Can you perhaps explain, what your exact problem in regards to speed is?
Thanks and HTH
RefaelAuthor Commented:
Thank you! I just used your code. I guess something with my code was somewhere causing the issue .
All Courses

From novice to tech pro — start learning today.