jquery.nicescrollp.js 是一个修改滚动条样式的插件
$(document).ready(function(){scroll = $('ul').nicescroll({cursorcolor:"#257ddb",//滚动条颜色mousescrollstep:10,//速度cursorwidth:"10px",//宽度cursorborder:"yellow",//边框颜色background:"red"//滚动条背景颜色autohidemode:false,//是否隐藏滚动条cursorborderradius:"5px",//滚动条圆角})})
注:
/ ==>jquery插件库
/jquery-info5869 ===>jquery.nicescroll.js下载路径
/jquery-info23174 ===>jquery.nicescroll.js下载路径
/jquery.nicescroll/ ===>jquery.nicescroll cdn链接