日期:2014-05-18 浏览次数:20519 次
$(function(){
$("div").mouseleave(function () {
$(this).hide();
});
})
------解决方案--------------------
jQuery(function($) {
$('#txtTo').mouseout(function() {
var i = false;
$('#div1').hover(function() {
i = true;
$(this).show();
}, function() {
$(this).fadeOut(1000);
});
if (i == false) $('#div1').hide();
}).mouseover(function() {
$('#div1').show();
});
});