
The Floating panel API 301
isATarget()
Availability
Dreamweaver MX (Windows only).
Description
Specifies whether other panels can dock to this floating panel. If the isATarget() function is
not specified, Dreamweaver prevents other panels from docking to this one. Dreamweaver
calls this function when the user tries to combine this panel with others.
Arguments
None.
Returns
Dreamweaver expects a Boolean value: true if other floating panels can dock to this one;
false otherwise.
Example
IsATarget()
{
return true;
}
isAvailableInCodeView()
Description
Determines whether the floating panel should be enabled when Code view is selected. If this
function is not defined, the floating panel is disabled in the Code view.
Arguments
None.
Returns
Dreamweaver expects a Boolean value: true if the floating panel should be enabled in Code
view;
false otherwise.
Komentáře k této Příručce