mouseout
イベントが発生する前にjQueryを一定の時間待機させる方法はありますか?
現時点では発火が早すぎるため、マウスを評価する前に500ミリ秒待つことをお勧めします。以下で使用しているコードの例。
$('.under-construction',this).bind({
mousemove: function(e) {
setToolTipPosition(this,e);
css({'cursor' : 'crosshair' });
},
mouseover: function() {
$c('show!');
showUnderConstruction();
},
mouseout: function() {
$c('hide!');
hideUnderConstruction();
},
click: function() {
return false;
}
});
これを行うjQueryの方法はありますか、それとも自分で行う必要がありますか?