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] |