You can add a callback function to the end of the animation.
$("#part9").animate({
opacity: "-=0.1",
top: "-=1"
}, 800, function(){
if($(this).css("opacity") <= 0){
do stuff
}
}
);
I added <=
, just in case