隐藏的时间改一改因为info也会响应mouseover,如果这时隐藏的时间正好到,那么就会导致隐藏
测试一下吧先:
var hideDelay = 600;

解决方案 »

  1.   

    if (hideDelayTimer) clearTimeout(hideDelayTimer);
                    if (onstatic) clearTimeout(onstatic);
                    onstatic=null;
                    
                    onstatic = setTimeout(function () {     //<-----就是在这里添加了延迟时间就出现问题了,删掉又没问题
                    
                    
                    if (beingShown || shown) {
                        // don't trigger the animation again
                        return;
                    } else {