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

다운로드
페이지 504
The toolbar command API
243
menuID = 'DWBrowseOptionsPopup';
}
}
return menuID;
}
getUpdateFrequency()
Availability
Dreamweaver MX.
Description
Specifies how often to run the handlers for the 
enabled
checked
showIf
, and 
value
 
attributes to update the visible state of the item.
You must specify the update frequency for toolbar items because they are always visible, unlike 
menus. For this reason, you should always select the lowest frequency possible and make sure 
your 
enabled
checked
, and 
value
 handlers are as simple as possible.
This function is equivalent to the 
update
 attribute in a toolbar item. 
Arguments
None.
Returns
Dreamweaver expects a string that contains a comma-separated list of update handlers. For a 
complete list of the possible update handlers, see 
Example
function getUpdateFrequency()
{
return onSelChange”;
}
isCommandChecked()
Availability
Dreamweaver MX.