Adobe Dreamweaver API Reference CS5 Manual de usuario Pagina 345

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 533
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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.
Vista de pagina 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 532 533

Comentarios a estos manuales

Sin comentarios