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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 504
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 342
Group EDML file tags 343
Parent
group
Type
Attribute.
Required
No.
Value
The value is a unique string that determines which group to apply, as shown in the following
example:
<group serverBehavior="myServerBehavior.htm" ¬
subType="longVersion">
This group attribute defines the long version of the myServerBehavior subtype. You would
also have a version with the
subType="shortVersion" attribute. In the
applyServerBehaviors() function, you can indicate which group should be applied by
setting the
MM_subType property on the parameter object, as shown in the following example:
function applyServerBehavior(ssRec) {
var paramObj = new Object();
if (longVersionChecked) {
paramObj.MM_subType = "longVersion";
} else {
paramObj.MM_subType = "shortVersion";
}
dwscripts.applySB(paramObj, sbObj);
}
<title>
Description
This string appears in the Server Behaviors panel for each server behavior instance that is
found in the current document.
Parent
group
Type
Block tag.
Required
No.
Vista de página 342
1 2 ... 338 339 340 341 342 343 344 345 346 347 348 ... 503 504

Comentários a estes Manuais

Sem comentários