Example: Add a Mouse Over Message to a Button Tag

Set the following pass-through attributes in the Properties dialog for an Image Button, Link Button, or Push Button control:

Pass-Through Attribute

Value

Button-HtmlAttributes-onMouseMove

javascript:window.status=’Hovering...’;

Button-HtmlAttributes-onMouseOut

javascript:window.status=”;

After building and running the application, watch the browser’s status bar.  You’ll notice the custom message appears when you hover over the button.

Note: The Java Plugin must be installed and running in your system system in order for this example to work properly.

See Also

Pass-Through Attributes