我正在使用 twitter bootstrap 开发单个寻呼机网站。我使用 jQuery nicescroll 在部分内滚动(用户只允许在单击菜单项时滚动浏览特定部分)。当部分内容较少且滚动流畅但当部分内元素数量增加时,它可以正常工作,滚动非常慢。
jQuery代码:
jQuery("section").niceScroll({horizrailenabled:false,scrollspeed:"5"});
jQuery("section").getNiceScroll().hide();//to hide the scrollbar but allow scrolling
请建议。