Dreamweaver.openinframe(), Dreamweaver.releasedocument(), Dreamweaver.revertdocument() – Adobe Dreamweaver API Reference CS5 User Manual
Page 265

260
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
dreamweaver.openInFrame()
Availability
Dreamweaver 3.
Description
Opens the Open In Frame dialog box. When the user selects a document, it opens into the active frame.
Arguments
None.
Returns
Nothing.
Enabler
See “
dreamweaver.releaseDocument()
Availability
Dreamweaver 2.
Description
Explicitly releases a previously referenced document from memory.
Documents that are referenced by the
dreamweaver.getObjectTags()
,
dreamweaver.getObjectRefs()
,
dreamweaver.getDocumentPath()
, or
dreamweaver.getDocumentDOM()
functions are automatically released
when the script that contains the call finishes executing. If the script opens many documents, you must use this
function to explicitly release documents before finishing the script to avoid running out of memory.
Note: This function is relevant only for documents that were referenced by a URL, are not currently open in a frame or
document window, and are not extension files. Extension files are loaded into memory at startup and are not released
until you quit Dreamweaver.
Arguments
documentObject
•
The documentObject argument is the object at the root of a document’s DOM tree, which is the value that the
dreamweaver.getDocumentDOM()
function returns.
Returns
Nothing.
dreamweaver.revertDocument()
Availability
Dreamweaver 3.