jQuerytools“可滚动"滚动到第一页 [英] Jquerytools "scrollable" scroll to first page
本文介绍了jQuerytools“可滚动"滚动到第一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用jquerytools可滚动库. http://jquerytools.org/demos/scrollable/plugins.html#navigator
I am using the jquerytools scrollable library. http://jquerytools.org/demos/scrollable/plugins.html#navigator
导航正常.但是我有几十页.所以我想告诉滑块滚动到第一页/最后一页. 我该怎么办?
Navigation works all fine. But I have a couple dozen pages. So I want to tell the slider to scroll to the first/last page. How can I do it?
那是我到目前为止使用的.
Thats what I use so far.
$( ".items" ).css('left',0);
它起作用了,只是导航按钮无法识别我滚动了O.o 该怎么办?
It works, only that the navigator buttons don't recognize that i scrolled O.o What to do?
推荐答案
这有效:
$form.find(".scrollable").data("scrollable").begin(0); // scroll to beggining of slider
这篇关于jQuerytools“可滚动"滚动到第一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文