fadeout element as soon as another elment is available code example
Example: on click fade out jquery
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut(2500);
});
});
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut(2500);
});
});