Jquery工具滚动问题
我遇到一个问题,在第 10 页之后,下一页似乎在滚动时显示许多页面。
请参考我的页面: http://rh-photography.com.au/Weddings/Album- Samples/Album-3#
单击“下一步”10 次。第 11 次时,您会注意到它实际上从可滚动的开头开始,一直滚动到第 11 个图像。与第 12 个等相同的故事。
我根本看不出我的代码有任何差异会导致这种情况。
有人可以帮我吗?
我正在使用以下内容: jquery 1.4.4 jquery 工具 1.2.5/tiny (jquery ui 1.8.2)
另请参阅任何有相同问题的人可能想查看我在 jquery 工具网站上的论坛帖子是否有帮助:http://flowplayer.org/tools/forum/35/54693 (但我的问题在这里和那里是一样的。)
I'm having an issue where after the 10th page, the next page seems to show many pages as it scrolls.
Please refer to my page here:
http://rh-photography.com.au/Weddings/Album-Samples/Album-3#
Click "Next" 10 times. On the 11th time, you will notice that it actually starts from the beginning of the scrollable and scrolls all the way to the 11th image. Same story with the 12th etc.
I can't see any differences in my code at all that would cause this.
Could someone please help me?
I'm using the following:
jquery 1.4.4
jquery tools 1.2.5/tiny
(jquery ui 1.8.2)
Also see anyone with the same problem might like to check my forum post on jquery tools site if that helps: http://flowplayer.org/tools/forum/35/54693 (But my question is the same here as it is there.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这实际上是 jQuery 中的一个错误。
http://bugs.jquery.com/ticket/7193
已在 1.4.5 中修复。但不幸的是,这还没有结束。
如果可以回滚的话,1.4.2中就不存在了。所以这是一个可能的解决方法。
This is actually a bug in jQuery.
http://bugs.jquery.com/ticket/7193
It's been fixed in 1.4.5. But that is unfortunately not out, yet.
If you can roll back, it doesn't exist in 1.4.2. So that's a possible workaround.
好的,大家找到问题了。
它记录在此处:http://flowplayer.org/tools/forum/35/54010
基本上,如果 .items(在标准安装中)超出左侧:-10000px,您就会遇到此问题。我安装的每个项目的大小约为 1000px,因此第 11 个项目导致问题是有道理的。
现在要找到解决方法...:(
Okay people, found the issue.
It's documented here: http://flowplayer.org/tools/forum/35/54010
Basically if the .items (in a standard install) goes beyond left: -10000px, you get this issue. each item in my install is around 1000px so it makes sense that the 11th one causes the problem.
Now to find a work around... :(