$(document).ready( function() {
$("#xf1").mouseover( function() {
$("#xu001").fadeIn("fast");
}).mouseout( function() { $("#xu001").fadeOut("slow");
});
<div style="width:125px; height:150px;" id="xf1"><a href="xiangqing.html"><img src="image/1/1.png" style="border:0px" /></a></div>
<div style="width:228px; height:250px; position:absolute; left: 380px; z-index:999; top: 201px;" id="xu001"><img src=image/2/1.jpg /></div>为什么我鼠标还没离开 图片就消失了
$("#xf1").mouseover( function() {
$("#xu001").fadeIn("fast");
}).mouseout( function() { $("#xu001").fadeOut("slow");
});
<div style="width:125px; height:150px;" id="xf1"><a href="xiangqing.html"><img src="image/1/1.png" style="border:0px" /></a></div>
<div style="width:228px; height:250px; position:absolute; left: 380px; z-index:999; top: 201px;" id="xu001"><img src=image/2/1.jpg /></div>为什么我鼠标还没离开 图片就消失了
$("#xf1").mouseover( function() {
$("#xu001").fadeIn("fast");
}).mouseout( function() {
$("#xu001").fadeOut("slow");
})
});