hs.Expander.prototype.focus
Brings the current expander to the front.
void hs.Expander.prototype.focus()
Details
Type |
function |
Returns |
void |
Example
Focus the image on mouse over.
This example requires Events in the download configuration.
Define the onMouseOver event handler in the head section of your page.
hs.Expander.prototype.onMouseOver = function () {
this.focus();
}
Open two overlapping expanders at the same time, then move the mouse between them to see the effect.