我想把滚动条从mCustomScrollbar移到右边一点。
默认值:

希望的结果:

我是这样初始化的:
$(".framed-content").mCustomScrollbar({
theme: "dark-2",
scrollButtons:{ enable: true },
});如果我有选择的话,scrollbarPosition: "string"太多了,在右边,在盒子外面。
从这个jQuery插件的给定选项中有什么办法吗?http://manos.malihu.gr/jquery-custom-content-scroller/
发布于 2017-04-27 17:02:42
这是因为框内有一个填充物。我删除了它,并将填充放在框架内容div中的div中:
<div class="framed-content" style="height:274px;overflow-x:hidden;overflow-y:hidden;">
<div style="padding:20px;height:400px;">
List of frames...
</div>
</div>https://stackoverflow.com/questions/43663233
复制相似问题