我使用jQuery Image Center plugin并试图居中jQuery的动画之后调整
后这里是我的代码动画图像,图像为中心的作品,但动画没有
$('#myimage').css('opacity' , 0);
$('#myimage').centerImage(function() {
//At this point, resize is complete, and the element is invisible
$(this).animate({opacity: 1}, 1500);
});
你在控制台上是否有任何错误? –
不,没有在萤火虫 – Darko