Adobe Dreamweaver API Reference CS5 Bedienungsanleitung Seite 388

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 533
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 387
383
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Example
The following example changes the status of the selected element to "full" if it is "hidden":
var currentDOM = dw.getDocumentDOM();
if (currentDOM && getElementView() == "hidden"){
currentDOM.setElementView("full");
}
dom.getShowDivBackgrounds()
Availability
Dreamweaver 8.
Description
This function gets the state of the Layout Block Backgrounds visual aid.
Arguments
None.
Returns
A Boolean; true if the Layout Block Backgrounds visual aid is on; false otherwise.
Example
The following example checks whether the Layout Block Backgrounds visual aid is on and, if not, turns it on:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowDivBackgrounds() == false){
currentDOM.setShowDivBackgrounds(true);
}
dom.getShowDivBoxModel()
Availability
Dreamweaver 8.
Description
This function gets the state of the Layout Block Box Model visual aid.
Arguments
None.
Returns
A Boolean; true if the Layout Block Box Model visual aid is on; false otherwise.
Example
The following example checks whether the Layout Block Box Model visual aid is on and, if not, turns it on:
Seitenansicht 387
1 2 ... 383 384 385 386 387 388 389 390 391 392 393 ... 532 533

Kommentare zu diesen Handbüchern

Keine Kommentare