Jquerytools “scrollable” scroll to first page

丶灬走出姿态 提交于 2019-12-12 05:09:02

问题


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);

It works, only that the navigator buttons don't recognize that i scrolled O.o What to do?


回答1:


this worked:

$form.find(".scrollable").data("scrollable").begin(0); // scroll to beggining of slider


来源:https://stackoverflow.com/questions/11126826/jquerytools-scrollable-scroll-to-first-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!