cfmenu
8

Overview ColdFusion Open BlueDragon Lucee

Creates a menu or tool bar (a horizontally arranged menu). Any menu item can be the top level of a submenu.

Attributes

Name Required Type Default Description
8
bgcolor No String The color of the menu background. You can use any valid HTML color specification. This specification is locally overridden by the menuStyle attribute of this tag and any cfmenuitem tag, but does affect the background of the surrounding color of a submenu whose background is controlled by a childStyle attribute
8
childstyle No String A CSS style specification that applies to the items of the top level menu and all child menu items, including the children of submenus. This attribute lets you use a single style specification for all menu items.
8
font No String The font to be use for all child menu items. You can use any valid HTML font-family style attribute.
8
fontcolor No String The color of the menu text. You can use any valid HTML color specification.
8
fontsize No String The size of the font. Use a numeric value, such as 8, to specify a pixel character size. Use a percentage value, such as 80% to specify a size relative to the default font size. Font sizes over 20 pixels can result in submenu text exceeding the menu boundary.
8
menustyle No String A CSS style specification that applies to the menu, including any parts of the menu that do not have items. If you do not specify style information in the cfmenuitem tags, this attribute controls the style of the top-level items.
8
name No String The name of the menu.
8
selectedfontcolor No String The color of the text for the menu item that has the focus. You can use any valid HTML color specification.
8
selecteditemcolor No String The color that highlights the menu item that has the focus. You can use any valid HTML color specification.
8
type No String horizontal The orientation of menu.
8
width No String The width of a vertical menu; not valid for horizontal menus.