Native JS Custom Scrollbar (Original)
Add-ons

Plugin description: A simple custom JS scrollbar
Updated: 2021-08-30 01:40:57
A small demo I made for learning and practice. Experts, please be kind. You can modify the scrollbar styles directly in the file. The code should be fairly simple and includes comments, making it very beginner-friendly for people like me.
Feature Description:
1. Drag the scrollbar, and the content scrolls accordingly
2. Move the mouse over the scrollbar's up and down buttons to scroll automatically
3. Click the black background area of the scrollbar to jump to the corresponding content
4. The scrollbar is shown or hidden according to the content height
5. Supports the mouse wheel
6. Theoretically supports IE9 and later versions or other modern browsers
评论