我正在使用 Jscrollpane v2.0.0beta10 最后更新于 2011-04-17 和 Jquery 库 v1.5.2。
我的滚动窗格包含图像列表,这些图像包含在链接中。尽管使用的链接类型不同,但在 FF 3.6.16 中单击图像时,它会强制窗格滚动到末尾,而在 IE 8 中,最后一个链接会导致窗格滚动到开头。
请注意,我尝试过以前版本的 jquery 库以及以前版本的 Jscrollpane 脚本。
有人可能对我如何解决这个问题有建议吗?
可以在 http://jsbin.com/amure6 预览测试版本,
提前感谢您的帮助。
I am using Jscrollpane v2.0.0beta10 last updated 2011-04-17 with Jquery library v1.5.2.
My scrollpane contains a list of images, which are wrapped in a links. Despite the type of a link used, when clicking on an image, it forces the pane to scroll to the end in FF 3.6.16 and in IE 8, the last links causes the pane to scroll to the beginning.
Please note that I have tried previous versions of the jquery library as well as previous versions of Jscrollpane script.
Does anyone perhaps have advice on how I can fix this issue?
A test version can be previewed at http://jsbin.com/amure6
Thx in advance for any assistance.
发布评论
评论(1)
您的示例存在许多问题,这使得很难看出可能发生的情况:
即使进行了一些更改,我也确实在 Firefox 中的示例中看到了问题:
http://jsbin.com/amure6 /4
但是,类似的基本示例并未显示问题(向下滚动并单击窗格中的“Google”链接):
http://jsfiddle.net/VYcDZ/95/
我不确定有什么区别?
There are a number of problems with your example which make it hard to see what might be going on:
I do see the problem in your example in Firefox even with a couple of changes made:
http://jsbin.com/amure6/4
However, a similar basic example doesn't show the problem (scroll down and click the "Google" link within the pane):
http://jsfiddle.net/VYcDZ/95/
I'm not sure what the difference is?