Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 带延迟的hoverintent函数_Javascript_Jquery - Fatal编程技术网

Javascript 带延迟的hoverintent函数

Javascript 带延迟的hoverintent函数,javascript,jquery,Javascript,Jquery,我有下面的hoverIntent函数 $(".samplePepleCon").hover(function() { var getId = $(this).attr('id'); var getCompleteID = 'DataInside_'+getId; $(this).find(".presTips").delay(800)

我有下面的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");
        }

    );

我希望函数()在延迟/暂停500毫秒后执行。。请提供帮助。

听起来您正在寻找新的版本。

r6终于发布了!!:)兼容jquery-1.5.1万岁!!