Dreamweaver.reloadtoolbars(), Window functions, Dom.getfocus() – Adobe Dreamweaver API Reference CS5 User Manual
Page 182

177
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
var dom = dw.getDocumentDOM();
if(dom != null && dom.getToolbarVisibility("myEditbar") == false)
{
dom.setToolbarVisibility("myEditbar", true);
{
dreamweaver.reloadToolbars()
Availability
Dreamweaver CS4.
Description
This function reloads all the JavaScript toolbars in the Configuration/Toolbars folder.
Arguments
{resetToDefault}
•
The
resetToDefault
argument is a Boolean value indicating whether to read the default visibility and position for
each toolbar from the toolbars.xml file. If this value is
false
or not supplied, toolbar positions and visibilities are
maintained when reloading. This argument is optional.
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 “
Note: Some of the functions in this section operate only on Windows. The description of a function indicates whether this
is the case.
dom.getFocus()
Availability
Dreamweaver 3.
Description
This function determines the part of the document that is currently in focus.
Arguments
None.