如何使用jQuery serialScroll/scrollTo(不起作用) [英] Howto use jQuery serialScroll / scrollTo (not working)

查看:175
本文介绍了如何使用jQuery serialScroll/scrollTo(不起作用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要准备好了,试图使JQuery ScrollTo插件正常工作.我想以编程方式将其滚动到下一个和上一个项目.

I'm going batty, trying to get the JQuery ScrollTo plugin working properly. I want to programatically scroll it to next and previous items.

现在,我当然已经看过类似的问题(此小提琴中进行设置.我试图找到位置并且浮动正确.任何帮助表示赞赏. 提前致谢.

Now, of course I've taken a look at similar questions (and associated fiddles), but I can't seem to get it working for my scenario. I tried to set it up in this fiddle. I've tried to get the position and floats correct. Any help is appreciated. Thanks in advance.

http://jsfiddle.net/twashing/ukEfp/21

推荐答案

好,所以我终于通过消除对jquery或关​​联库的任何双重加载来使serialScroll正常工作(

Ok, so I finally got serialScroll working by eliminating any double loading of jquery or associated libraries (see here). I now only using requirejs for internal libs.

这篇关于如何使用jQuery serialScroll/scrollTo(不起作用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆