$('.submenu').hover( function(){ $('.show-block').fadeIn('slow') }, function(){ $('.show-block').fadeOut('slow') } );