User Guide
208 Chapter 12: Workspace
dom.getView()
Availability
Dreamweaver 4.
Description
This function determines which view is visible.
Arguments
None.
Returns
"design"
, "code", or "split", depending on the visible view.
dom.getWindowTitle()
Availability
Dreamweaver 3.
Description
This function gets the title of the window that contains the document.
Arguments
None.
Returns
A string that contains the text that appears between the TITLE tags in the document, or nothing,
if the document is not in an open window.
dom.setView()
Availability
Dreamweaver 4.
Description
This function shows or hides the Design or Code view to produce a design-only, code-only, or
split view.
Arguments
viewString
• The viewString argument is the view to produce; it must be one of the following values:
"design", "code", or "split".
Returns
Nothing.
000_DW_API_Print.book Page 208 Wednesday, August 20, 2003 9:14 AM