たとえば、これらのコードを見てください:
HTML:
<div id="hvr">hover me</div>
<div id="box" style="background:#ddd; width:100px; height:50px;"></div>
jQuery:
$(function(){
$("#hvr").hover(function(){
$("#box").animate({width:'150px'},500);
more animations/functions here ...
}, function(){
$("#box").animate({width:'100px'},500);
more animations/functions here ...
});
テキストにすばやく 3 回カーソルを合わせると、ボックスは 1 回終わるごとに 3 回アニメーションします。[最初のホバーによる]最初のアニメーション/機能が終了するまでホバー効果を無効にするホバーのタイムアウトを設定するにはどうすればよいですか?