Adobe Dreamweaver API Reference CS5 Manual de usuario Pagina 429

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 533
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 428
424
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Arguments
None.
Returns
Nothing.
Example
The following example deletes all guides in the document if the document has at least one guide:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.hasGuides() == true) {
currentDOM.clearGuides();
}
dom.createHorizontalGuide()
Availability
Dreamweaver 8.
Description
This function creates a horizontal guide at the current location in the document.
Arguments
location
The location argument is the location of the guide with both the value and units as one string, with no space between
the value and units. The possible units are
"px" for pixels and "%" for percentage. For example, to specify 10 pixels,
location = "10px"; to specify 50 percent, location = "50%".
Returns
Nothing.
Example
The following example creates a horizontal guide in the document at the current location:
var currentDOM = dw.getDocumentDOM();
currentDOM.createHorizontalGuide("10px");
dom.createVerticalGuide()
Availability
Dreamweaver 8.
Description
This function creates a vertical guide at the current location in the document.
Vista de pagina 428
1 2 ... 424 425 426 427 428 429 430 431 432 433 434 ... 532 533

Comentarios a estos manuales

Sin comentarios