jQuery custom scrollbar plugin Nicescroll.js

Add-ons
2026-07-25 22:21 2 次浏览 • 0 次下载 26.0KB
jQuery custom scrollbar plugin Nicescroll.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$('#boxscroll').niceScroll({
cursorcolor: "#dcdee0", // Scrollbar color
cursoropacitymax: 1, // Scrollbar opacity, from 0 to 1
touchbehavior: false, // Makes dragging the scrollbar feel like using a touch device on a desktop computer
cursorwidth: "8px", // Scrollbar width
cursorborder: "0", // CSS definition for the cursor border
cursorborderradius: "5px", // Cursor border radius in pixels (rounded corners)
autohidemode: false, // Whether to hide the scrollbar. When set to true, the scrollbar is hidden by default and appears when the mouse hovers over it.
zindex: "auto", // Set the z-index value for the scrollbar
railpadding: {
top: 0,
right: -4,
left: 0,
bottom: 0
}, // Scrollbar position
});
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare