Adobe Dreamweaver API Reference CS5 Manual de usuario Pagina 435

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 533
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 532 533

Comentarios a estos manuales

Sin comentarios