$(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())
}
});
});
});
});
</sc
<ul class="artist">
<li class="a12">
<img width="222" height="140" st
<dl class="cover" href="<{$okimg12[gourl]}>" target="_blank"><span>iding8</span></dl> </li>
</ul>
最佳答案