Menugroup, Description – Adobe Extending Dreamweaver CS4 User Manual
Page 42
36
EXTENDING DREAMWEAVER CS4
Customizing Code view
Example
Description
Each
menugroup
tag corresponds to a type of menu. You can see the menu types that Dreamweaver defines by selecting
the code hints category from the Preferences dialog box. Select Preferences from the Edit menu to display the
Preferences dialog box.
You can create a new menu group or add to an existing group. Menu groups are logical collections of menus that the
user might want to enable or disable using the Preferences dialog box.
Attributes
name, enabled, id
•
The
name
attribute is the localized name that appears in the list of menu groups in the code hints category of the
Preferences dialog box.
•
The
enabled
attribute indicates whether the menu group is currently checked or enabled. A menu group that is
enabled appears with a check mark next to it in the code hints category of the Preferences dialog box. Assign a
true
value to enable the menu group or a
false
value to disable a menu group.
•
The
id
attribute is a nonlocalized identifier that refers to the menu group.
Contents
The
description
,
menu
, and
function
tags.
Container
The
codehints
tag.
Example
Description
The
description
tag contains text that Dreamweaver displays when you select the menu group from the Preferences
dialog box. The description text displays below the list of menu groups. The description text might optionally contain
a single
a
tag where the
href
attribute must be a JavaScript URL that Dreamweaver executes if the user clicks the link.
Use the XML CDATA construct to enclose any special or illegal characters in the string so that Dreamweaver treats
them as text.
Attributes
None.
Contents
Description text.