Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서

다운로드
페이지 504
234
Toolbars
label="label string"
Optional. This attribute specifies a label that displays next to the item. Dreamweaver does not 
automatically add a colon to labels. Labels for nonbutton items are always positioned on the 
left of the item. Dreamweaver places labels for buttons, check buttons, radio buttons, menu 
buttons, and combo buttons inside the button and to the right of the icon.
Example
label="Title: "
width="number"
Optional. This attribute applies only to text box, pop-up menu, and combo box items by 
specifying the width of the item in pixels. If you do not specify the 
width
 attribute, 
Dreamweaver uses a reasonable default width.
Example
width="150"
menuID="menu_id"
This attribute is required for menu buttons and combo buttons, unless you specify the 
getMenuID()
 function in an associated command file. Dreamweaver ignores the 
menuID
 
attribute for other types of items. This attribute specifies the ID of the menu bar that contains 
the context menu to pop up when the user clicks the button, menu button, or combo button. 
The ID comes from the ID attribute of a 
menubar
 tag in the menus.xml file.
Example
menuID="DWCodeNavPopup"
colorRect="left top right bottom"
This attribute is optional for color pickers that have an image attribute. The 
colorRect
 
attribute is ignored for other types of items and for color pickers that do not specify an image. 
If you specify the 
colorRect
 attribute, Dreamweaver displays the color that is currently 
selected in the color picker in the rectangle, relative to the left or top of the icon. If you do not 
specify the 
colorRect
 attribute, Dreamweaver does not display the current color on the 
image.
Example
colorRect=”0 12 16 16”