插件描述:可自定义程度很高的虚拟滚动条插件,用起来很方便
Basic configuration

代码片段
1 行
 $(selector).slimScroll();

Example of additional settings

Events

slimScroll publishes slimscroll event when scrollbar reaches top or bottom of the parent container. You can use jQuery bind method to subscribe to this event:

JavaScript
3 行
 $(selector).slimScroll().bind('slimscroll', function(e, pos){
     console.log("Reached " + pos");
 });
代码片段
1 行
演示 http://www.jq22.com/demo/jQuery-slimScroll-141223223505/

附件: