<div id="risk-free-logo" style="float:left;margin-left:30px;height:100px;width:100px">
</div>
<div id="risk-free-info-div" style="border: 2px solid; display:none; position: relative; background-color: rgb(255, 255, 255); z-index: 100; height: 170px; width: 300px; margin-left: 150px;" class="popupbox"></div>
$(document).ready(function(){
$('#risk-free-logo').mouseenter(
function(){
$(this).siblings('.popupbox').css('display','block');
});
$('#risk-free-logo').mouseleave(
function(){
$(this).siblings('.popupbox').css('display','none');
}
);
});
Onmouseover 我必须显示一个 div。但是使用任何事件都会使闪烁