rem: initialize: function(elements, options){ this.elements = elements; this.setOptions(options); this.toolTip = new Element('div').addClassName(this.options.className).setStyle('position', 'absolute').injectInside(document.body); this.toolTitle = new Element('H4').injectInside(this.toolTip); this.toolText = new Element('p').injectInside(this.toolTip); this.fx = new fx.Style(this.toolTip, 'opacity', {duration: this.options.fxDuration, wait: false}).hide(); $A(elements).each(function(el){ $(el).myText = el.title || false; if (el.myText) el.removeAttribute('title'); if (el.href){ if (el.href.test('http: if (el.href.length > this.options.maxTitleChars) el.myTitle = el.href.substr(0,this.options.maxTitleChars-3)+"..."; } if (el.myText && el.myText.test('::')){ var dual = el.myText.split('::'); el.myTitle = dual[0].trim(); el.myText = dual[1].trim(); } el.onmouseover = function(){ this.show(el); return false; }.bind(this); el.onmousemove = this.locate.bindAsEventListener(this); el.onmouseout = function(){ this.timer = $clear(this.timer); this.disappear(); }.bind(this); }, this); 
add: initialize: function(options){ this.transport = window.XMLHttpRequest ? new XMLHttpRequest() : (window.ie ? new ActiveXObject('Microsoft.XMLHTTP') : false); this.setOptions(this.getOptions(), options); if (!this.transport) return; this.headers = {}; if (this.options.initialize) this.options.initialize.call(this); 
context: 	initialize: function(elements, options){		this.elements = elements;		this.setOptions(options);		this.toolTip = new Element('div').addClassName(this.options.className).setStyle('position', 'absolute').injectInside(document.body);		this.toolTitle = new Element('H4').injectInside(this.toolTip);		this.toolText = new Element('p').injectInside(this.toolTip);		this.fx = new fx.Style(this.toolTip, 'opacity', {duration: this.options.fxDuration, wait: false}).hide();		$A(elements).each(function(el){			$(el).myText = el.title || false;			if (el.myText) el.removeAttribute('title');			if (el.href){				if (el.href.test('http://')) el.myTitle = el.href.replace('http://', '');				if (el.href.length > this.options.maxTitleChars) el.myTitle = el.href.substr(0,this.options.maxTitleChars-3)+"...";			}			if (el.myText && el.myText.test('::')){				var dual = el.myText.split('::');				el.myTitle = dual[0].trim();				el.myText = dual[1].trim();			} 			el.onmouseover = function(){				this.show(el);				return false;			}.bind(this);			el.onmousemove = this.locate.bindAsEventListener(this);			el.onmouseout = function(){				this.timer = $clear(this.timer);				this.disappear();			}.bind(this);		}, this);	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/03c9c00aa7fdb2f2d8571e7665048da8759cf30a/mootools-uncompressed.js/buggy/includes/js/mootools-uncompressed.js