hello.. i have this code and it work find except the fadeIn transition..
$("div.thumbnailsContainer").fadeOut("500",function(){
$("div.fullViewContainer").empty();
$('<img />')
.attr('src', imgPathLarge)
.load(function(){
$("div.fullViewContainer").append( $(this) );
$("div.fullViewContainer").fadeIn("1000");
});
});
the problem is, after the image completely loaded, fadeIn transition will not work properly, it will just appear after loads but without transition..
what could be the problem with my code?
do i need to put setTimeout to delay the transition after image load?