All pastes #829183 Raw Edit

Something

public text v1 · immutable
#829183 ·published 2007-12-22 23:37 UTC
rendered paste body
	$.fn.extend({
		
		showTooltip: function(settings) {
			
			return this.each(function() {
				settings = $.extend({}, $.Tooltip.defaults, settings);
				createHelper();
				this.tSettings = settings;
				this.tooltipText = 'dummy content';
				$(this).removeAttr("title");
				this.alt = "";
				$(this).click(hideEvent);
				save(this);
			});
			
			//alert('show ' + this.tSettings);
			//alert('show ' + this.tooltipText);
		},
		
		hideTooltip: function() {
			alert('hide ' + this.tSettings);
			alert('hide ' + this.tooltipText);
			
			hideNoEvent(this);
		},