Adobe Dreamweaver API Reference CS5 Manual do Utilizador Página 497

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 533
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 496
492
Last updated 8/27/2013
Chapter 19: Enablers
Adobe® Dreamweaver® CS5 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 possibly excludes some
cases in which the function would return a
false value.
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.
dom.canApplyTemplate()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform an Apply To Page operation. This function is valid only for the active
document.
Arguments
None.
Returns
A Boolean value that indicates whether the document is not a library item or a template, and that the selection is not
within the
NOFRAMES tag.
Vista de página 496
1 2 ... 492 493 494 495 496 497 498 499 500 501 502 ... 532 533

Comentários a estes Manuais

Sem comentários