这是我的尝试,这是行不通的。它会触发,但加载的图像不会“淡入”
附上jsfiddle:http: //jsfiddle.net/NgwTa/
var insert = "<div class='thediv'><img src='http://s1.cdn.autoevolution.com/images/news/gallery/mercedes-c63-amg-black-series-tuned-by-vath-photo-gallery_9.jpg'></div><br><div class=thediv><img src='http://s1.cdn.autoevolution.com/images/news/gallery/mercedes-c63-amg-black-series-tuned-by-vath-photo-gallery_9.jpg'></div>";
$('.clickit').click(function(){
$('.container').imagesLoaded(function(){
$('.box').html(insert);
});
});