• The
string if the
"body"
• The
string if a frameset or any of its frames is selected
"frameset"
• The
string if the focus is not in the document (for example, if it's in the Property inspector or another
"none"
floating panel)
dom.getView()
Availability
Dreamweaver 4.
Description
This function determines which view is visible.
Arguments
None.
Returns
,
, or
"design"
"code"
"split"
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
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
argument is the view to produce; it must be one of the following values:
viewString
"split".
or
area is active
BODY
NOFRAMES
, depending on the visible view.
tags in the document, or nothing, if the document is
TITLE
DREAMWEAVER CS3
API Reference
,
, or
"design"
"code"
174