When I scroll some litlle div with many elements, my mouse scrolling is too fast so I can't see few elements.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
You can use NiceScroll plugin with jQuery:
Or jQuery.scrollSpeed plugin.
Scroll speed can't be altered as they are System configurations and Javascript shouldn't be allowed to alter a user's own settings.
But there are a lot of jquery custom scrollbars that you can use, which offer an option to change the scroll speed. Examples: mCustomScrollbar, jquery slimscroll etc