How floating panel files work
Custom floating panels can be moved, resized, and tabbed together the same way as the
floating panels that are built in to Dreamweaver. Custom floating panels differ from built-in
floating panels in the following ways:
Custom floating panels display in the default gray. Setting the
tag has no effect.
BODY
All custom floating panels either appear always in front of the Document window or float
behind it when inactive, depending on the setting for All Other Floaters in the
Panels preferences.
Floating panel files also differ somewhat from other extensions. Unlike other extension files,
Dreamweaver does not load floating panel files into memory at startup unless the floating
panels were visible when Dreamweaver last shut down. If the floating panels were not visible
when Dreamweaver shut down, the files that define them are loaded only when referenced
from one of the following functions:
dreamweaver.setFloaterVisibility()
information on these functions, see the Dreamweaver API Reference.
When one of the files inside the Configuration folder calls the
dw.getFloaterVisibility(floaterName)
or
dw.toggleFloater(floaterName)
1.
If
is not one of the reserved floating panel names, Dreamweaver searches the
floaterName
Configuration/Floaters folder for a file called
reserved floating panel names, see the
in the Dreamweaver API Reference. If
searches for
floaterName
2.
If the floating panel file is being loaded for the first time, the
is called, if it is defined, to determine the floating panel's default position on the screen,
and the
initialTabs()
default tab grouping.
3.
The
selectionChanged()
assumption that changes probably occurred while the floating panel was hidden.
290
Floating Panels
dreamweaver.getFloaterVisibility()
, or
dreamweaver.toggleFloater()
,
dw.setFloaterVisibility(floaterName)
functions, the following events occur:
dreamweaver.getFloaterVisibility()
floaterName
.html. If no file is found, nothing happens.
function is called, if it is defined, to determine the floating panel's
and
documentEdited()
BGCOLOR
.htm. (For a complete list of
floaterName
.htm is not found, Dreamweaver
initialPosition()
functions are called on the
attribute in the
,
. For more
,
function
function
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?