$('.xDiv').hover( function() { $(".yDiv").fadeIn(-1000); }, function() { $(".yDiv").fadeOut(-1000); } );