return {
zIndex: 2,
container: document.body,
+ tohide: '',
onClick: $empty,
}
},
this.setOptions(this.getOptions(), options);
this.options.container = $(this.options.container);
+ this.options.tohide = $(this.options.tohide);
this.container = new Element('div').addClass(name).
setProperties({
},
show: function(){
+ if (this.options.tohide) {
+ this.options.tohide.setStyle('display', 'none');
+ }
this.container.setStyle('display', 'block');
},
hide: function(){
+ if (this.options.tohide) {
+ this.options.tohide.setStyle('display', 'block');
+ }
this.container.setStyle('display', 'none');
}
})