【发布时间】:2013-08-28 05:04:33
【问题描述】:
在mCustomScrollbar中,我想默认将滚动条放在水平位置的右端,所以我尝试了这个:
$('.content').mCustomScrollbar("scrollTo",'last', {horizontalScroll: true});
这不起作用。以下工作,但不会将滚动条移动到正确的位置:
$('.content').mCustomScrollbar({horizontalScroll: true});
我应该怎么做才能让水平滚动默认出现在右边?
【问题讨论】:
-
你能给我看看你的滚动条的截图吗?
标签: javascript jquery scroll scrollbar mcustomscrollbar