Working on the new editor ...

This commit is contained in:
Paulo Veiga
2011-10-10 18:30:02 -03:00
parent 2f9b53b045
commit cd85390b22
14 changed files with 622 additions and 949 deletions

View File

@@ -37,6 +37,7 @@ mindplot.widget.FloatingTip = new Class({
hideDelay: 250,
className: 'floating-tip',
offset: {x: 0, y: 0},
preventHideOnOver: true,
fx: { 'duration': 'short' }
},
@@ -75,9 +76,10 @@ mindplot.widget.FloatingTip = new Class({
return this;
element.store('floatingtip', tip);
this._animate(tip, 'in');
tip.addEvent(this.options.showOn, this.boundShow);
tip.addEvent(this.options.hideOn, this.boundHide);
if (this.options.preventHideOnOver) {
tip.addEvent(this.options.showOn, this.boundShow);
tip.addEvent(this.options.hideOn, this.boundHide);
}
this.fireEvent('show', [tip, element]);
return this;
},