gpt4 book ai didi

javascript - 具有延迟的 hoverintent 函数

转载 作者:行者123 更新时间:2023-11-30 18:45:53 26 4
gpt4 key购买 nike

我有以下 hoverIntent 函数

$(".samplePepleCon").hover(function() 
{
var getId = $(this).attr('id');
var getCompleteID = 'DataInside_'+getId;
$(this).find(".presTips").delay(800).fadeIn(1000);


}, function()
{
$(this).find(".presTips").fadeOut("fast");
}

);

我希望 function() 在延迟/暂停 500 毫秒后执行。请帮忙

最佳答案

听起来您正在寻找 hoverIntent plugin .

关于javascript - 具有延迟的 hoverintent 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5515423/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com