我正在使用jQuery Image Center 插件并尝试在图像居中后对其进行动画处理
这是我的代码,图像居中有效,但动画无效
$('#myimage').css('opacity' , 0);
$('#myimage').centerImage(function() {
//At this point, resize is complete, and the element is invisible
$(this).animate({opacity: 1}, 1500 );
});