我有两幅DIV在悬停时显示的图片,显示一些用户信息。它的外观如预期的那样,但我不知道如何只显示悬停图像上的信息。使用ID分隔课程
我该怎么做?
下面的代码的带电作业例如: 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');
});
});