Hiermenus Go Forth, I - DHTML Lab | 2
Hiermenus Go Forth, I:
Version 4 - The External Arrays
Element 5 - background_color
- Description
- Sets the background color of all items in a menu tree. All menus in the cascade (top-level and children) are affected.
- Value
- Hexadecimal color values or color name.
IE-only: CSS decimal RGB color value or user-defined system color.
May be specified as:- string
- Example Values
- string: "#6E77E2"
- All item backgrounds will display in the color defined by #6E77E2
- All item backgrounds will display in purple.
- Default
- If omitted, the background color of all items in the menu tree will comply with the color set by the in-page Global Parameter Variables.
- Differences from Version 3 equivalent
- No difference from Version 3.
- Comments
- If you are writing for an IE-only environment, for example, a corporate intranet, you can also use:
- CSS decimal RGB color values in the form: rgb(red green blue)
Ex. "rgb(89 121 5)" - user-defined system color values. See Column 24 for a complete list of these values.
Ex. "infobackground"
- CSS decimal RGB color values in the form: rgb(red green blue)
Element 6 - mouseover_background_color
- Description
- Sets the background color of all highlighted items in a menu tree. All menus in the cascade (top-level and children) are affected.
- Value
- Hexadecimal color values or color name.
IE-only: CSS decimal RGB color value or user-defined system color.
May be specified as:- string
- Example Values
- string: "#FFFF00"
- All highlighted item backgrounds will display in the color defined by #FFFF00
- All item text will display in sky blue.
- Default
- If omitted, the background color of all highlighted items in the menu tree will comply with the color set by the in-page Global Parameter Variables.
- Differences from Version 3 equivalent
- No difference from Version 3.
- Comments
- If you are writing for an IE-only environment, for example, a corporate intranet, you can also use:
- CSS decimal RGB color values in the form: rgb(red green blue)
Ex. "rgb(255 255 0)" - user-defined system color values. See Column 24 for a complete list of these values.
Ex. "appworkspace"
- CSS decimal RGB color values in the form: rgb(red green blue)
On the next page, the array parameter-elements that set border color.
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.Created: Aug 08, 2000
Revised: Aug 08, 2000
URL: https://www.webreference.com/dhtml/column35/10.html