Adobe Dreamweaver API Reference CS5 Manuale Utente Pagina 345

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 533
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 532 533

Commenti su questo manuale

Nessun commento