ホバリング時にDIVが表示する2つの画像があり、ユーザー情報が表示されています。見た目は意図したとおりですが、ホバーした画像の情報だけを表示する方法がわかりません。
これどうやってするの?
コードの実際の動作例を次に示します。http: //jsfiddle.net/uvHw4/
生のJavaScriptコード:
$(document).ready(function() {
$('.start_profile_container_text').hide();
$('.start_profile_container').mouseenter(function() {
$('.start_profile_container_text').show('slide', { direction: "down"} ,'fast');
});
$('.start_profile_container').mouseout(function() {
$('.start_profile_container_text').hide('slide', { direction: "down"} ,'fast');
});
});