Specifications

521
Description
Places the current document in Layout view if bShow is true.
Arguments
bShow
bShow
is a Boolean value that toggles the current document between Layout view and Standard
view. If
bShow is true, the current document switches to Layout view. If bShow is false, the
current document switches to Standard view.
Returns
Nothing.
Library and template functions
Library and template functions handle operations that are related to library items and templates,
such as creating, updating, and breaking links between a document and a template or library
item. Methods of the
dreamweaver.libraryPalette object either control or act on the selection
in the Library panel, not in the current document. Likewise, methods of the
dreamweaver.templatePalette object control or act on the selection in the Templates panel.
dom.applyTemplate()
Availability
Dreamweaver 3
Description
Applies a template to the current document. If no argument is supplied, the Select Template
dialog box appears. This function is valid only for the document that has focus.
Arguments
{templateURL}, bMaintainLink
templateURL is the path to a template in the current site, which is expressed as a file:// URL.
bMaintainLink is a Boolean value that indicates whether to maintain the link to the original
template (
true) or not (false).
Returns
Nothing.
Enabler
“dom.canApplyTemplate()” on page 409
dom.detachFromLibrary()
Availability
Dreamweaver 3
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.