Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 823

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
The
and
cfmenu
cfmenuitem
The following table describes these attributes in hierarchical order:
Attribute
cfmenu attributes
menuStyle
childStyle
cfmenuitem attributes
style
menuStyle
childStyle
In addition to these styles, consider any style-related attributes, such as
When you design your menu, keep in mind the following issues:
• Keep font sizes at 20 pixels or smaller. Larger sizes can result in menu text in vertical menus exceeding the menu
boundaries.
• Consider how the style attributes interact. Because each menu and submenu consists of a surrounding menu area
and individual child items, be careful when you choose background colors. For example, if you specify different
styles in the
background-color
and the surrounding menu area are a different color.
For an application that shows some of the effects of menu style attributes, see the example in the cfmenuitem tag in
the CFML Reference.
ColdFusion attributes provide most style options that you are likely to require. However, you can, if necessary, modify
the basic menu styles for all menus by editing the menu-related styles in the CSS files in the yui.css file. This file is
located by default in the web_root/CFID/scripts/ajax/resources/yui directory. For more information about these styles,
see the
Yahoo! User Interface Library menu
Uploading files
The
tag lets you select multiple files and upload them to a server.
cffileupload
Working with the cffileupload
The
tag displays a dialog that lets you upload multiple files. The following are the file upload features:
cffileupload
• Uses callback and error handlers that lets provides control over file upload process after upload completion or if
errors occur.
• Lets you style the file upload control
• Provides option to stop or continue with upload in case of errors
• Provides option to send custom response to callback and error handlers
tags provide a hierarchy of CSS style attributes that affect different parts of the menu.
Description
Applies to the menu, including any parts of the menu that surround the menu items. If you do not
override this style in a
cfmenu
tag
cfmenuitem
tags, this attribute controls the style of the top-level items.
Applies to the items in 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.
Applies to the current menu item only. It is not overridden by the
Controls the overall style of any submenu of this menu item. This attribute controls the submenu of the
current menu item, but not to any child submenus of the submenu.
Applies to all child menu items of the current menu item, including the children of submenus.
tag's
cfmenu
menuStyle
documentation.
Last updated 1/20/2012
childStyle
attribute or by specifying style information in the
childStyle
, that you set on the
bgcolor
and
attributes, the menu items are one color
childStyle
818
attribute.
tag.
cfmenu

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents