Adobe 38040334 API Reference - Page 314
dom.getInlineElements, Dreamweaver CS3.
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 314 highlights
DREAMWEAVER CS3 309 API Reference for (var j=0; j < children.length; j++){ dProps = window.getDeclaredStyle(children[j]); if (typeof(dProps.width) != "undefined" || typeof(dProps.height) != "undefined"){ hasLayout = true; break; } dom.getInlineElements() elem.getInlineElements() Availability Dreamweaver CS3. Description Scans the document (or element) for descendents with an inherent or specified display value of 'inline'. Arguments None. Returns An array of element nodes. Example [...] var DOM = dw.getDocumentDOM(); var inEls = DOM.body.getInlineElements(); var next = null, prev = null, parent = null; var props = null; // look through all inline elements for replaced elements. // if no replaced elements are found, don't bother going forward. for (var i=0; i < inEls.length; i++){ if (inEls[i].tagName == 'IMG' || inEls[i].tagName == 'INPUT' || inEls[i].tagName == 'TEXTAREA' || inEls[i].tagName == 'SELECT' || inEls[i].tagName == 'OBJECT'){ // do something } } [...]
![](/manual_guide/products/adobe-38040334-api-reference-b593776/314.png)