Adobe Dreamweaver API Reference CS5 Bedienungsanleitung Seite 345

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 533
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 344
340
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
Returns
An integer representing the minimum display width of the specified container, in pixels, or -1 if the element is not a
container or its minimum width cannot be determined
Example
var dom = dw.getDocumentDOM();
var myDiv = dom.getElementById('myDiv');
var props = window.getComputedStyle(myDiv);
var minW = dom.getMinDisplayWidth(myDiv);
var setW = props.width;
if (minW > setW)
alert("Depending on the browser, your content will either be \n" +
"clipped, or the container will expand beyond its set width.");
dom.getBlockElements() elem.getBlockElements()
Availability
Dreamweaver CS3.
Description
Scans the document (or element) for descendants with an inherent or specified display value of 'block'.
Arguments
None
Returns
An array of element nodes.
Seitenansicht 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 532 533

Kommentare zu diesen Handbüchern

Keine Kommentare