Adobe 38040334 - Dreamweaver CS3 User Manual page 245

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
240
API Reference
dreamweaver.openDocumentFromSite()
Availability
Dreamweaver 3.
Description
Opens a document for editing in a new Dreamweaver window and gives it the focus. For a user, the effect is the same
as double-clicking a file in the Site panel. If the specified file is already open, the window that contains the document
comes to the front. The window that contains the specified file becomes the currently selected document.
Note: This function cannot be called from Behavior action or object files because it causes an error.
Arguments
fileName
• The
argument is the file to open, which is expressed as a URL. If the URL is relative, it is relative to the
fileName
file that contains the script that called this function.
Returns
The document object for the specified file, which is the same value that the
dreamweaver.getDocumentDOM()
function returns.
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.canOpenInFrame()" on page 448.
dreamweaver.releaseDocument()
Availability
Dreamweaver 2.
Description
Explicitly releases a previously referenced document from memory.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents