return {
onClick: $empty,
zIndex: 9,
- buttonClass: 'controlButton',
+ buttonClass: 'controlButton'
}
},
this.container = new Element('div').addClass(name).
setProperties({
id: name,
- name: name,
+ name: name
}).setStyles({
- zIndex: this.options.zIndex,
+ zIndex: this.options.zIndex
}).addEvent('click', function(){
this.options.onClick()
}.bind(this)).injectInside(this.parent);
sub.addClass(this.options.buttonClass).setProperties({
id: el,
name: el,
- title: el,
+ title: el
}).addEvent('click', function(){
this[el]();
}.bind(this)).injectInside(this.container);
},this);
this.posbox = new Element('span').
addClass('controlPosition').setProperties({
- id: 'controlPosition',
+ id: 'controlPosition'
}).injectInside(this.commbox);
this.refbox = new Element('a', {
href: 'javascript: void(1);',
- html: 'title',
+ html: 'title'
}).addClass('controlRef').setProperties({
- id: 'controlRef',
+ id: 'controlRef'
}).injectInside(this.commbox);
},
this.stopbox.setStyle('display', 'none');
this.playbox.setStyle('display', 'block');
}
- },
+ }
});
+
Controls.implement(new Options);