Specifications
Chapter 12130
isAvailableInCodeView()
Description
Defined by a floating panel to determine 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 that indicates whether the floating panel should be enabled
in Code view.
isResizable()
Availability
Dreamweaver 4
Description
Determines whether a user can resize a floating panel. If the function is not defined or returns a
value of
true, the user can resize the floating panel. If the function returns false, the user is
unable to resize the floating panel.
Arguments
None.
Returns
true if the user can resize the floating panel, otherwise returns false.
Example
The following example prevents the user from resizing the floating panel.
function isResizable()
{
return false;
}
selectionChanged()
Description
Called when the floating panel becomes visible and when the selection changes (when focus
switches to a new document or when the insertion pointer moves to a new location in the current
document). This function should be defined only if the floating panel must track the selection.
Note: Define selectionChanged() only if you absolutely require it because its existence impacts performance.
Arguments
None.
Returns
Dreamweaver expects nothing.