0

我正在使用 Thomas Kahn 的 smoothdivscroll,想知道如何停止连续滚动?

4

2 回答 2

1
$( "#makeMeScrollable" ).bind( "mouseover", function () { 
$( this ).smoothDivScroll( "stopAutoScrolling" );
} ).bind( "mouseout", function () {  
$( this ).smoothDivScroll( "startAutoScrolling" );
} );
于 2013-09-18T12:17:42.987 回答
0

在这里查看他的文档

搜索stopAutoScrollingdisable
我尝试使用 chrome 控制台 在此处禁用它并且它有效

$("#makeMeScrollable").smoothDivScroll("disable");
于 2012-08-09T00:38:25.413 回答