不知道我做错了什么,或者代码中遗漏了什么,但我使用的是http://kitchen.net-perspective.com/open-source/scroll-follow/
问题是第一个工作和滚动到适当的高度,但第二个没有移动。如何找出顶部的结束时间,以及如何触发下面的第二个?(我不是javascript专家,似乎找不到任何关于如何解决问题的信息)
<div id="container-tag">
<div class="tag-cloud" id="cloud" style="top: 0px;">
<a rel="tag" href="http://elkartel.com/tag/turrets">Turrets</a>
</div>
</div> jQuery(document).ready(function ()
{
jQuery('#cloud').scrollFollow();
});谢谢。
发布于 2011-06-23 01:04:29
您不能只在包含元素上运行scrollFollow函数吗?这样整件事就会跟着滚动1。
ie:
$('#container-tag').scrollFollow();https://stackoverflow.com/questions/6444232
复制相似问题