Whatever message this page gives is out now! Go check it out!
<cfmenu
bgcolor="HTML color value"
childStyle="CSS style specification"
font="HTML font family"
fontColor="HTML color value"
fontSize="Number of pixels"
menuStyle="CSS style specification"
name="string"
selectedFontColor="HTML color value"
selectedItemColor="HTML color value"
type="horizontal|vertical
width="Number of pixels">
cfmenuitem tags
</cfmenu>Attribute | Req/Opt | Default | Description |
bgColor | Optional | Background color style of the menu | The color of the menu background. You can use any valid HTML color specification. This specification has the following behaviors:
|
childStyle | Optional | A CSS style specification that applies to the following menu items:
| |
font | Optional | Browser default font | The font to use for all child menu items. Use any valid HTML font-family style attribute. Some common values are serif, sans-serif, Times, Courier, and Arial. |
fontColor | Optional | black | The color of the menu text. Use any valid HTML color specification. |
fontSize | Optional | Font size of the menu item | 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 larger than 20 pixels can result in submenu text exceeding the menu boundary. |
menuStyle | Optional | 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. | |
name | Optional | The name of the menu. | |
selectedFontColor | Optional | black | The color of the text for the menu item that has the focus. Use any valid HTML color specification. |
selectedItemColor | Optional | light blue | The color that highlights the menu item that has the focus. You can use any valid HTML color specification. |
type | Optional | horizontal | The orientation of the menu. The following values are valid:
|
width | Optional | Width of the container | The width of a vertical menu; not valid for horizontal menus. Use a numeric value, such as 50, to specify a pixel size. Use a percentage value, such as 30%, to specify a size relative to the parent element's size. |
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<cfmenu name="menu" type="horizontal" fontsize="14" bgcolor="##CCFFFF">
<cfmenuitem name="acrobat" href="http://www.adobe.com/acrobat" display="Acrobat"/>
<cfmenuitem name="aftereffects" href="http://www.adobe.com/aftereffects"
display="After Effects"/>
<!--- The ColdFusion menu item has a pop-up menu. --->
<cfmenuitem name="coldfusion"
href="http://www.adobe.com/products/coldfusion" display="ColdFusion">
<cfmenuitem name="buy"
href="http://www.adobe.com/products/coldfusion/buy/" display="Buy"/>
<cfmenuitem name="devcenter"
href="http://www.adobe.com/devnet/coldfusion/" display="Developer Center"/>
<cfmenuitem name="documentation"
href="http://www.adobe.com/support/documentation/en/coldfusion/"
display="Documentation"/>
<cfmenuitem name="support" href="http://www.adobe.com/support/coldfusion/"
display="Support"/>
</cfmenuitem>
<cfmenuitem name="flex" href="http://www.adobe.com/flex" display="Flex"/>
</cfmenu>
</body>
</html>