打印本文 打印本文 关闭窗口 关闭窗口
一个优秀的超链接鼠标悬停提示CSS+JS
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1916  更新时间:2009/4/23 11:25:46  文章录入:mintao  责任编辑:mintao
    if (this.timer) { clearTimeout(this.timer); this.timer = 0; }
        this.timer = setTimeout("Tooltip.toggleVis('" + this.tipID + "', 'hidden')", this.hideDelay);
        if (this.followMouse) // release mousemove
            dw_event.remove( document, "mousemove", this.trackMouse, true );
        this.tip = null;
    },

    toggleVis: function(id, vis) { // to check for el, prevent (rare) errors
        var el = document.getElementById(id);
        if (el) el.style.visibility = vis;
    },
   
    trackMouse: function(e) {
     e = dw_event.DOMit(e);
      Tooltip.positionTip(e);
    }
   
}

Tooltip.init();

上一页  [1] [2] 

打印本文 打印本文 关闭窗口 关闭窗口