Adobe Dreamweaver API Reference CS5 Manuel d'utilisateur Page 345

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 533
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 532 533

Commentaires sur ces manuels

Pas de commentaire