beautypg.com

Dreamweaver.cansaveframesetas(), Dreamweaver.canselectall() – Adobe Dreamweaver API Reference CS5 User Manual

Page 514

background image

509

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

Description
Checks whether Dreamweaver can perform a Save Frameset operation on the specified document.

Arguments
documentObject

The documentObject argument is the root of a document’s DOM (the same value that the

dreamweaver.getDocumentDOM()

function returns).

Returns
A Boolean value that indicates whether the document is a frameset with unsaved changes.

dreamweaver.canSaveFramesetAs()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Save Frameset As operation on the specified document.

Arguments
documentObject

The documentObject argument is the root of a document’s DOM (the same value that the

dreamweaver.getDocumentDOM()

function returns).

Returns
A Boolean value that indicates whether the document is a frameset.

dreamweaver.canSelectAll()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Select All operation.

Arguments
None.

Returns
A Boolean value that indicates whether a Select All operation can be performed.