MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Dokumentacja Strona 178

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 504
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 177
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.
NOTE
Do not define this function unless you want an Options dialog box that is larger than
640 x 480 pixels.
Przeglądanie stron 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 503 504

Komentarze do niniejszej Instrukcji

Brak uwag