私はこのコードを持っています:
var shortcuts = $('#geo_shortcuts');
shortcuts.find('li').hoverIntent(
function () {
// Open the Panel
$(this).find('.geo_shortcuts_content').stop().animate({
top: '-122'
}, 300);
},
function () {
//Close de Panel
$(this).find('.geo_shortcuts_content').stop().animate({
top: '0'
}, 400);
}
);
マウスアウトの 2 秒後にのみ [閉じる] パネルを許可するにはどうすればよいですか? settimeout 関数を実行する必要があることはわかっていますが、方法がわかりません。