Adobe Extending Dreamweaver CS4 Manuel d'utilisateur Page 268

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 387
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 267
262
EXTENDING DREAMWEAVER CS4
Server behaviors
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.
Value
The value is a plain text string that can include argument names to make each instance unique, as shown in the
following example:
<title>Redirect If Empty (@@recordsetName@@)</title>
<groupParticipants>
Description
This tag contains an array of groupParticipant declarations.
Parent
group
Vue de la page 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 386 387

Commentaires sur ces manuels

Pas de commentaire