![]() |
|
|
Written by Eric Vaughan This document covers two related UI elements: Image Buttons and
Menu Buttons. An Image Button is a button capable of displaying both an
image (gif, jpeg, etc) and descriptive text within the boundary of
the button. Clicking anywhere within the boundary of the object
triggers an action (normally a JavaScript onClick handler). The
button can be enabled or disabled, and have a different appearance
when the mouse is inside its border. A Menu Button extends an Image Button to allow for a menu
or tree to popdown from the button when the mouse is down for a
certain amount of time (referred to as "click and hold"). An example
of a Menu Button in 4.X is the "Back" button which pops down a menu
containing the window history on a click-and-hold. Mozilla extends
this notion with the ability to pop down a live tree view. normal rollover depressed disabled text left image right
For Menu ButtonsEverything an Image Button could do, plus the following:
|
||||||||||||||||||||||||||
| Copyright © 1998 The Mozilla Organization. | |||||||||||||||||||||||||||