Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

jScrollPane Mouse scrolling speed

Posted on 2015-02-05
2
Medium Priority
?
103 Views
Last Modified: 2015-04-13
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.

myJScrollPane.getVerticalScrollBar().setUnitIncrement(16);

Open in new window

0
Comment
Question by:Refael
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 2000 total points
ID: 40593383
Hi,
it seems that there is a language match/mismatch. The link you referenced is from the Java Swing library:
http://docs.oracle.com/javase/7/docs/api/javax/swing/JScrollPane.html
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:
http://jsfiddle.net/EE_RainerJ/jymjf0uh/

Can you perhaps explain, what your exact problem in regards to speed is?
Thanks and HTH
Rainer
0
 

Author Closing Comment

by:Refael
ID: 40721928
Thank you! I just used your code. I guess something with my code was somewhere causing the issue .
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question