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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 533
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 434
430
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Returns
A Boolean value: true if there is a vertical guide at the location; false otherwise.
Example
The following example deletes all guides in the document if the document has a vertical guide at the specified location:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.hasVerticalGuide("10px") == true) {
currentDOM.clearGuides();
}
dom.snapToGuides
Availability
Dreamweaver 8.
Description
This mutable Boolean property determines whether elements snap to guides in the document. You can set and get this
property.
Arguments
None.
Returns
Nothing.
Example
The following example makes elements in the document snap to guides:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.snapToGuides == false) {
currentDOM.snapToGuides = true;
}
Table editing functions
Table functions add and remove table rows and columns, change column widths and row heights, convert
measurements from pixels to percents and back, and perform other standard table-editing tasks.
dom.convertWidthsToPercent()
Availability
Dreamweaver 3.
Description
This function converts all WIDTH attributes in the current table from pixels to percentages.
Vista de página 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 532 533

Comentários a estes Manuais

Sem comentários