<link href="../Content/jquery.mCustomScrollbar.css" rel="stylesheet" />
<script src="../Scripts/jquery.mCustomScrollbar.concat.min.js"></script>
//main-y-scroll滚动条
$(function(){
$(".main-y-scroll").mCustomScrollbar({
autoHideScrollbar:true,
theme:"light-thin"
});
})
//main-x-scroll滚动条
$(function(){
$(".main-x-scroll").mCustomScrollbar({
theme:"light-thin",
autoHideScrollbar:true, //自动隐藏滚动条
horizontalScroll:true, //是否创建水平滚动条
scrollButtons:{
enable: false //是否使用上下滚动按钮
},
axis:"x"
});
})