Chapter 19: Enablers
Adobe® Dreamweaver® CS3 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
value. However, the descriptions are
true
not intended to be comprehensive and might exclude some cases in which the function would
return a
value.
false
Enabler functions
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.