0
所以我有jquery的代码在这里:jQuery脚本
$(document).ready(function(){
$("div.post.photo").hover(function() {
$(this).children("div.show").slideToggle("fast");
});
});
在这里影响的HTML代码:
<div class="post photo">
<img src="source" />
<div class="show">
<div class="caption">
Caption
</div>
</div>
</div>
但是当你向下滚动页面,更多div
的通过另一个脚本(不是我写的)获取,但上面的jQuery脚本不会影响它们。
想法?
甜。感谢一群伙计。 – Ando