234
Workspace
Returns
A Boolean value:
true
if the floating panel is visible and in the front;
false
otherwise or if
Dreamweaver cannot find a floating panel named
floaterName
.
dreamweaver.getFocus()
Availability
Dreamweaver 4.
Description
This function determines what part of the application is currently in focus.
Arguments
bAllowFloaters
■
The
bAllowFloaters
argument is a Boolean value:
true
if you want the function to
return the name of the floating panel, if a floating panel has focus;
false
otherwise.
Returns
One of the following strings:
■
The
"document"
string if the document window is in focus
■
The
"site"
string if the Site panel is in focus
■
The
"textView"
string if the Text view is in focus
■
The
"html"
string if the Code inspector is in focus
■
The
floaterName
string, if
bAllowFloaters
is
true
and a floating panel has focus,
where
floaterName
is
"objects"
,
"properties"
,
"launcher"
,
"library"
,
"css
styles"
,
"html styles"
,
"behaviors"
,
"timelines"
,
"layers"
,
"frames"
,
"templates"
, or
"history"
■
(Macintosh) The
"none"
string if neither the Site panel nor any document windows are
open
Site = "
site
"
Site Files =
"site files"
Site Map - “
site map
”
Snippets =
"snippets"
Target Browser Check Results =
"btc"
Validation Results =
"validation"
000_DW_API_Print.book Page 234 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...