Dropdown; Combobox - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

Example
<MENUBUTTON ID="DW_CodeNav"
image="Toolbars/images/MM/codenav.gif"
disabledImage="Toolbars/images/MM/codenav_dis.gif"
tooltip="Code Navigation"
enabled="dw.getFocus() == 'textView' || dw.getFocus() == 'html'"
menuID="DWCodeNavPopup"
update="onViewChange"/>
<dropdown>
Description
A dropdown menu is a noneditable menu that executes a specific command when you select an
entry and the menu updates itself, based on an attached JavaScript function. The dropdown
menu looks and acts the same as the Format control in the Text Property inspector, except it's a
standard size instead of the small Property inspector size.
Attributes
id, tooltip, file, enabled, checked, value, command, {showIf}, {label},
{width}, {domRequired}, {update}, {arguments}
For a description of each attribute, see
Contents
None.
Container
The
tag or the
toolbar
Example
<dropdown id="Font_Example"
width="115"
tooltip="Font"
domRequired="false"
file="Toolbars/mine/fontExample.htm"
update="onSelChange"/>
<combobox>
Description
A combo box is an editable pop-up menu that executes its command when you select an entry or
when the user makes an edit in the text box and switches focus. The menu looks and acts the
same as the Font control on the Text Property inspector, except it's a standard size instead of the
small Property inspector size.
Attributes
id, file, tooltip, enabled, value, command, {showiI}, {label}, {width},
{domRequired}, {update}, {arguments}
For a description of each attribute, see
Contents
None.
180
Chapter 9: Toolbars
"Item tag attributes" on page
tag.
toolbarset
"Item tag attributes" on page
182.
182.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents