Dreamweaver.setprimaryview(), Dom.isrelatedfileviewopen() – Adobe Dreamweaver API Reference CS5 User Manual
Page 207

202
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Description
This function gets the name of the primary view. In Split view or Split code, the primary view is the top window or the
left window, depending on the Split view orientation.
Arguments
None.
Returns
A string that contains the name of the primary view, which is one of the following values:
dreamweaver.setPrimaryView()
Availability
Dreamweaver CS4.
Description
This function changes the primary view. In Split view or Split code, the primary view is the top window or the left
window depending on the Split view orientation.
Arguments
A string that contains the name of the primary view, which is one of the following values:
Returns
A Boolean value:
true
if successful,
false
otherwise.
dom.isRelatedFileViewOpen()
Availability
Dreamweaver CS4.
Description
This function determines if the view contains a related file view.
Value
Description
code
The primary view is the Code window.
design
The primary view is the Design window.
related fil
e
The primary view is the related file window. This value is returned when the document view is Split code and a related
file has been opened.
Value
Description
code
The primary view is the Code window.
design
The primary view is the Design window.
related file
The primary view is the related file window. This value is used when the document view is Split code and a
related file has been opened.