User Guide
431
CHAPTER 19
Enablers
Macromedia Dreamweaver MX 2004 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 431 Wednesday, August 20, 2003 9:14 AM