beautypg.com

Dw.getlayoutnames(), Dw.getlayoutdescriptions(), Dom.applycssstyle() – Adobe Dreamweaver API Reference CS5 User Manual

Page 386

background image

381

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

Arguments
layoutIndex

layoutIndex is an integer, zero-based index specifying the layout. This is an index to the list of layouts, which is used
to return the

layoutNames

and

layoutDescriptions

in the corresponding functions.

Returns
String array containing the full paths of the HTML and preview image files (which can be

null

).

dw.getLayoutNames()

Availability
Dreamweaver CS3.

Description
Gets the names of the available CSS-based layouts.

Arguments
None.

Returns
String array of layout names.

dw.getLayoutDescriptions()

Availability
Dreamweaver CS3.

Description
Gets the descriptions of the available CSS-based layouts

Arguments
None.

Returns
String array of layout descriptions.

dom.applyCSSStyle()

Availability
Dreamweaver 4.

Description
Applies the specified style to the specified element. This function is valid only for the active document.