hs.Expander.prototype.onMouseOver
Fires when the mouse cursor enters the image or HMTL popup.
void hs.Expander.prototype.onMouseOver ( hs.Expander sender, object e )
Details
Requires |
events |
Type |
event |
Returns |
void |
Parameters
- sender
- The sender object in this context is the hs.Expander instance.
- e
- The JavaScript event arguments as passed to the wrapper object.
Example
Focusing the image on mouse over
This example shows how to focus the image, meaning pushing it to the front, when the mouse passes over it.
Put this in the head section of your page:
<script type="text/javascript">
hs.Expander.prototype.onMouseOver = function (sender) {
sender.focus();
};
</script>
Open both images to see the effect:
See also