beautypg.com

Dom.detachfromtemplate(), Dom.getattachedtemplate(), Dom.geteditableregionlist() – Adobe Dreamweaver API Reference CS5 User Manual

Page 330

background image

325

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Description
Detaches the selected library item instance from its associated LBI file by removing the locking tags from around the
selection. This function is equivalent to clicking Detach from Original in the Property inspector.

Arguments
None.

Returns
Nothing.

dom.detachFromTemplate()

Availability
Dreamweaver 3.

Description
Detaches the current document from its associated template.

Arguments
None.

Returns
Nothing.

dom.getAttachedTemplate()

Availability
Dreamweaver 3.

Description
Gets the path of the template that is associated with the document.

Arguments
None.

Returns
A string that contains the path of the template, which is expressed as a file:// URL.

dom.getEditableRegionList()

Availability
Dreamweaver 3.

Description
Gets a list of all the editable regions in the body of the document.