Specifications
Floating Panels 129
initialTabs()
Description
Determines which other floating panels are tabbed together the first time that this floating panel
appears. If any listed floating panel has appeared previously, it is not included in the tab group.To
ensure that two custom floating panels are tabbed together, each panel should reference the other
with the
initialTabs() function.
Arguments
None.
Returns
Dreamweaver expects a string of the form "floaterName1,floaterName2,...floaterNameN".
Example
The following example of initialTabs() specifies that the first time the floating panel appears,
it should be tabbed together with the scriptEditor floating panel:
function initialTabs(){
return "scriptEditor";
}
isATarget()
Availability
Dreamweaver MX (Windows only)
Description
Specifies whether other panels can dock to this panel. If isATarget() is not specified, the default
is
false, which prevents other panels from trying to dock to this one.
Arguments
None.
Returns
Dreamweaver expects a Boolean value that indicates whether other panels can dock to this panel.
Example
IsATarget()
{
return true;
}