BetterScroll

inspired by iscroll, and it has a better scroll perfermance

起步

快速开始

HTML

1
2
3
4
5
6
7
8
9
10
11
12
13
<body>
<div id="wrapper">
<ul>
<li>...</li>
<li>...</li>
...
</ul>
</div>
<script type="text/javascript" src="bscroll.min.js"></script>
<script type="text/javascript">
new BScroll(document.getElementById('wrapper'));
</script>
</body>

搞定!