Dom.getblockelements() elem.getblockelements() – Adobe Dreamweaver API Reference CS5 User Manual
Page 345

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.