如何使下面的jQuery 延时执行

浏览:1521 发布日期:2013/10/19 分类:求助交流
<script type="text/javascript">
$(document).ready(function(){

$('.artist li').each(function(){

$(this).find('.cover').css('top', +$(this).height());

$(this).hover(function(){
$(this).find('.cover').animate({
'top': '0'
},350);
},function(){
$(this).find('.cover').animate({
'top':$(this).height()
},{
duration: 100,
complete:function(){
$(this).css('top', +$(this).parent('li').height())
}
});
});

});

});
</script>

<ul class="artist">
<li class="a12">
<img width="222" height="140" style="margin:10px;" src="http://img01.taobaocdn.com/bao/uploaded/i1/15791027836242080/T1WG9HFkhbXXXXXXXX_!!0-item_pic.jpg_310x310.jpg" />
<dl class="cover" href="<{$okimg12[gourl]}>" target="_blank"><span>iding8</span></dl> </li>
</ul>
最佳答案
评论( 相关
后面还有条评论,点击查看>>