178
Commands
isDomRequired()
Description
This function determines whether the command requires a valid DOM to operate. If this
function returns a value of
true
or if the function is not defined, Dreamweaver assumes that
the command requires a valid DOM and synchronizes the Design and Code views of the
document before executing. Synchronization causes all edits in the Code view to update in the
Design view.
Arguments
None.
Returns
Dreamweaver expects a
true
value if a command requires a valid DOM to operate;
false
otherwise.
receiveArguments()
Description
This function processes any arguments that pass from a menu item or from the
dw.runCommand()
function.
Arguments
{arg1}, {arg2},...{argN}
■
If the
arguments
attribute is defined for a
menuitem
tag, the value of that attribute passes
to the
receiveArguments()
function as one or more arguments. Arguments can also pass
to a command by the
dw.runCommand()
function.
Returns
Dreamweaver expects nothing.
windowDimensions()
Description
This function sets specific dimensions for the Parameters dialog box. If this function is not
defined, the window dimensions are computed automatically.
NO
T
E
Do not define this function unless you want an Options dialog box that is larger than
640 x 480 pixels.
Содержание DREAMWEAVER 8-EXTENDING DREAMWEAVER
Страница 1: ...Extending Dreamweaver...
Страница 8: ...8 Contents...
Страница 14: ...14 Introduction...
Страница 16: ......
Страница 54: ...54 Customizing Dreamweaver...
Страница 96: ...96 Customizing Code View...
Страница 98: ......
Страница 110: ...110 Extending Dreamweaver...
Страница 138: ......
Страница 166: ...166 Insert Bar Objects...
Страница 180: ...180 Commands...
Страница 248: ...248 Toolbars...
Страница 260: ...260 Reports...
Страница 278: ...278 Tag Libraries and Editors...
Страница 288: ...288 Property Inspectors...
Страница 378: ...378 Server Behaviors...
Страница 398: ...398 Data Sources...
Страница 432: ...432 Server Models...
Страница 456: ...456 Data Translators...
Страница 482: ......
Страница 492: ...492 The Shared Folder...