【发布时间】:2016-02-09 12:39:34
【问题描述】:
我在我的网页http://manos.malihu.gr/jquery-custom-content-scroller/上安装了这个自定义的js滚动条
我看到脚本将 mcustomscrollbar 类添加到正文中,所以我猜这不是编码问题。
我使用简单的 jquery 标记将其加载到 html 中。
<script>
(function($){
$(window).load(function(){
$("body").mCustomScrollbar({
theme:"3d-thick",
scrollInertia: 150,
axis:"y",
scrollButtons:{
enable:true
}
});
$(".board").mCustomScrollbar({
axis:"y",
theme:"3d"
});
});
})(jQuery);
</script>
这是不加载自定义滚动条的问题页面。
http://lifeto.cafe24.com/xe/request
谁能帮帮我?
【问题讨论】:
标签: jquery