. .
isATarget() Boolean For Dreamweaver 9 (Windows only)
Specifies if other panels can dock to this panel
IsAvailable Boolean Determines if the floating panel is enabled when Code view
InCodeView() is active
isResizable Boolean Specifies whether the floating panel can be resized by the user
selectionChanged() Nothing Executes after the current selection has been altered
CAUTION CAUTION
1041
Customizing Dreamweaver 33
Adobe strongly cautions programmers against using documentEdited() and
selectionChanged() unless these functions are absolutely necessary. Because they constantly
monitor the document, both functions can have an adverse effect on performance if implemented.
Adobe suggests that programmers incorporate the setTimeout() method to temporarily pause these functions
so that the user can continue to interact with the program.
Within the Dreamweaver API are two pairs of methods and a single function that relate to floating panels as
follows:
n getHideAllFloaters()??”Reads the state of the Show/Hide Floating Panel menu option to
determine if all floating panels should be hidden (true) or shown (false)
n setHideAllFloaters()??”Sets the Show/Hide Floating panel to a particular state, to Hide
(true) or Show (false)
n getFloaterVisibility(floaterName)??”Reads whether the given floating panel is currently
displayed and frontmost (true) or hidden (false)
n setFloaterVisibility(floaterName,isVisible)??”Brings the named floating panel
forward if the isVisible argument is true
n toggleFloater(floaterName)??”Toggles the visibility state of the given floating panel
between hiding and bringing to the front
Floating panels have a great deal of potential with their flexible interface and constant onscreen presence.
Pages:
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767