A modified version of Samuel Birch overlay, that Extends Element.Properties with mask and expose
- container - (mixed) the element where the overlay will be injected.
- color - (string, optional) the overlay color.
- opacity - (float, optional) overlay transparency
- zIndex - (int, optional) the overlay z-index.
- duration - (int, optional) the overlay fading duration.
Fired when the user click the overlay.
Fired before the overlay is shown.
Fired before the overlay is hidden.
display the overlay.
- (object) - The overlay.
hide the overlay.
- (object) - The overlay.
produce a jQuery like Exposé in mootools.
element.set('expose' [, options]);
element.get('expose' [, options]);
In addition to the Overlay Options
- modal - (boolean) if false, the overlay will be hidden the the user click on it.
- dialog - (boolean, optional) the overlay will appear on top of another overlay with the same zIndex.
element.set('expose', {
onShow: function () {
},
onHide: function () {
}
}).show();
element.get('expose').hide();
show an overlay on top of the element.
element.set('mask' [, options]);
element.get('mask' [, options]);
see Overlay Options.
element.set('mask', {
onShow: function () {
},
onHide: function () {
}
}).show();
element.get('mask').hide();