The Book place
SEARCH
0-9
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
PARTS:
Part 84
Part 85
Part 86
Part 87
Part 88
Part 89
Part 90
Part 91
Part 92
Part 93
Part 94
Part 95
Part 96
Part 97
Part 98
Prev
|
Current Page 1754
|
Next
Joseph W. Lowery
"Dreamweaver CS3 Bible"
You
must call a function that displays the floating panel, either
dw.setFloaterVisibility(floaterName,true) or dw.toggleFloater(floaterName).
Most often, these functions are called from a
tag in the menus.xml file, like the following
custom floating panel:
command=???dw.toggleFloater(???helpBuilder??™)???
checked=???dw.getFloaterVisibility(???helpBuilder??™)??? />
The checked attribute ensures that a checkmark is displayed next to the menu item if the floating panel is
visible.
When naming a custom floating panel, be sure to avoid names reserved for Dreamweaver??™s
built-in elements: assets, behaviors, codesnippet, CSS styles, dataSource, documenttype,
frames, helpbook, HTML, insertbar, AP elements, library, objects, or history properties, reference, samplecontent,
serverBehavior, serverFormat, serverModel, site, taglibrary, site files, site map, templates, timelines,
timelines, or toolbar.
As indicated in the preceding paragraphs, floating panels have their own API functions, and several methods
of the Dreamweaver object are applicable. The floating panel API functions, none of which is required,
are described in Table 33-4.
TABLE 33-4
Floating Panel API Functions
Function Returns Use
displayHelp() Nothing Specifies whether a Help button should appear beneath the
OK and Cancel buttons
documentEdited() Nothing Executes after the current document has been edited
getDockingSide() A string containing For Dreamweaver 9 (Windows only)
left, right, top,
and/or bottom Specifies where a floating panel can dock
initialPosition A string in the format Sets the position of the floating panel onscreen when it is first
(platform) left,top called; if left onscreen when Dreamweaver quits, it reopens
in the last location
initialTabs() A string in the format Indicates what other floating panels are grouped with the
floatingPanel1, current floating panel when it first appears
floatingPanel2,.
Pages:
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
An Account of the Reconquest of the Sudan (page 184)
Adonais (page 147)
An Account of the Proceedings on the Trial of Susan B. Anthony, on the Charge of Illegal Voting (page 278)