Hiermenus Go Forth, I - DHTML Lab | 13 | WebReference

Hiermenus Go Forth, I - DHTML Lab | 13

Logo

Hiermenus Go Forth, I:
Version 4 - The External Arrays



Element 3 - font_color

Description
Sets the font color of the item text for the 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: "#99AD3F"
    All item text will display in the color defined by #99AD3F
string: "lightgreen"
    All item text will display in light green.

Default
If omitted, all item text in the menu tree will display in 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(205 5 122)"
  • user-defined system color values. See Column 24 for a complete list of these values.
    Ex. "activecaption"

Element 4 - mouseover_font_color

Description
Sets the font color of the item text for items that are highlighted in the 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: "#34FF9D"
    All highlighted item text will display in the color defined by #34FF9D
string: "black"
    All highlighted item text will display in black.

Default
If omitted, all highlighted item text in the menu tree will display in 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(122 5 205)"
  • user-defined system color values. See Column 24 for a complete list of these values.
    Ex. "highlighttext"

Next, the array parameter-elements that determine item background color.


Produced by Peter Belesis and

All Rights Reserved. Legal Notices.
Created: Aug 08, 2000
Revised: Aug 08, 2000

URL: http://www.webreference.com/dhtml/column35/9.html