MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Especificações Página 330

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 504
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 329
330 Server Behaviors
Arguments
serverBehavior, [serverBehaviorArray]
The serverBehavior argument is a JavaScript object that represents the behavior to
analyze.
The [serverBehaviorArray] argument is an array of JavaScript objects that represents
all the server behaviors that are found on a page.
Returns
Dreamweaver expects nothing.
applyServerBehavior()
Availability
Dreamweaver UltraDev 1.
Description
Reads values from the form elements in the dialog box and adds the behavior to the users
document. Dreamweaver calls this function when the user clicks OK in the Server Behaviors
dialog box. If this function returns successfully, the Server Behaviors dialog box closes. If this
function fails, it displays an error message without closing the Server Behaviors dialog box.
This function can edit a user’s document.
For more information, see dwscripts.applySB()” on page 336.
Arguments
serverBehavior
The serverBehavior JavaScript object represents the server behavior; it is necessary to
modify an existing behavior. If this is a new behavior, the argument is
null.
Returns
Dreamweaver expects an empty string if successful or an error message if this function fails.
Vista de página 329
1 2 ... 325 326 327 328 329 330 331 332 333 334 335 ... 503 504

Comentários a estes Manuais

Sem comentários