jQuery插件之slimScroll 自定义滚动条样式

1.在页面引入jquery和jquery.slimscroll.js 2.使用如下 // 滚动条的盒子 <div class="box"> </div> 3.js代码(插件的代码写在$(function(){})里面) $(function(){ $('.box').slimScroll({ height: $(".table_box").height(), //容器高度
相关文章
相关标签/搜索