Specifications
642
The default value of the argument is false. Dreamweaver automatically uses the untranslated 
source for subsequent calls to 
dw.getSelection(), dw.setSelection(), 
dw.nodeToOffsets(), and dw.offsetsToNode() when the script that calls 
dw.useTranslatedSource() finishes executing, if dw.useTranslatedSource() is not explicitly 
called with an argument of 
false before then.
Returns
Nothing.
Window functions
Window functions handle operations that are related to the Document window and the floating 
panels. The window functions show and hide floating panels, determine which part of the 
Document window has focus, and set the active document. For operations that are related 
specifically to the Site panel, see“Site functions” on page 558.
Macromedia Dreamweaver MX introduces a new user interface, known as the multiple document 
interface (MDI). This interface, or type of workspace, is optional but it is also the default 
workspace. In the multiple document interface, Dreamweaver MX integrates all the documents 
into one parent container in which you can dock all objects and panels. If you prefer, you can 
choose to work in the Dreamweaver 4 workspace, in which you manage separate, floating 
windows. The Dreamweaver 4 workspace is also called the classic workspace. You can switch from 
one type of workspace to the other through Dreamweaver MX Preferences
Note: Some of the functions in this section operate only in MDI mode and only on the Windows operating system. 
The description of the function indicates whether this is the case.
dom.getFocus()
Availability
Dreamweaver 3
Description
Determines the part of the document that is currently in focus.
Arguments
None.
Returns
One of the following strings:
• "head" if the HEAD area is active
• "body" if the BODY or NOFRAMES area is active
• "frameset" if a frameset or any of its frames is selected
• "none" if the focus is not in the document (for example, if it’s in the Property inspector or 
another floating panel)
dom.getView()
Availability
Dreamweaver 4










