开发者

Turn off auto centering with JQuery scrollable

With the JQuery scrollable widget. If you click the top, it scrolls to开发者_StackOverflow the middle. Is there any way to leave the "clicked" elements within the widget where they are when clicked?

[Position1]
[Position2]
[Position3]
[Position4]
[Position5]

For example, if I click Position5, I want it to stay in its place, NOT scroll itself into Position 3.

Any ideas?


You can pass parameter clickable:false to the scrollable initializer:

$("#scroller").scrollable({clickable:false});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜