以下のコードでは、ホバー時に div を所定の位置にスライドさせ、マウスが離れた後にフェードアウトさせようとしています。これを行う最も簡単な方法は何ですか?
$(window).load(function(){
$('div.description').each(function(){
$(this).css('opacity', 0);
$(this).css('width', $(this).siblings('img').width());
$(this).parent().css('width', $(this).siblings('img').width());
$(this).css('display', 'block');
});
$('div.wrapper').hover(function(){
$(this).children('.description').stop().fadeTo(700, 0.8);
},function(){
$(this).children('.description').stop().fadeTo(700, 0);
});
});