Adobe 38040334 - Dreamweaver CS3 User Manual page 43

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Example
<codehints>
<menugroup>
Description
Each
tag corresponds to a type of menu. You can see the menu types that Dreamweaver defines by
menugroup
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
attribute is the localized name that appears in the list of menu groups in the Code Hints category of the
name
Preferences dialog box.
• The
attribute indicates whether the menu group is currently checked or enabled. A menu group that is
enabled
enabled appears with a check mark next to it in the Code Hints category of the Preferences dialog box. Assign a
value to enable the menu group or a
true
• The
attribute is a nonlocalized identifier that refers to the menu group.
id
Contents
The
,
, and
description
menu
Container
The
tag.
codehints
Example
<menugroup name="Session Variables" enabled="true" id="Session_Code_Hints">
<description>
Description
The
tag contains text that Dreamweaver displays when you select the menu group from the Prefer-
description
ences dialog box. The description text displays below the list of menu groups. The description text might optionally
contain a single
tag where the
a
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.
Container
The
tag.
menugroup
value to disable a menu group.
false
tags.
function
attribute must be a JavaScript URL that Dreamweaver executes if the user clicks
href
DREAMWEAVER CS3
37
Extending Dreamweaver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents