User Guide
551
18
CHAPTER 18
Enablers
Macromedia Dreamweaver 8 Enabler functions determine whether another function can
perform a specific operation in the current context. The function specifications describe the
general circumstances under which each function returns a
true value. However, the
descriptions are not intended to be comprehensive and might exclude some cases in which the
function would return a
false value.
Enablers
The enabler functions in the JavaScript API include the following functions.
dom.canAlign()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform an Align Left, Align Right, Align Top, or Align
Bottom operation.
Arguments
None.
Returns
A Boolean value that indicates whether two or more layers or hotspots are selected.
000_DW_API_Print.book Page 551 Wednesday, July 20, 2005 11:58 AM