MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifikace Strana 395

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 504
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 394
The Data Sources API 395
Arguments
sourceName, bindingName
The sourceName argument is the name of the top-level node that is associated with the
child node.
The bindingName argument is the name of the child node from which you want to
generate a dynamic data object.
Returns
Dreamweaver expects a string, which can be passed to the formatDynamicDataRef()
function to format it before inserting it in a users document.
generateDynamicSourceBindings()
Availability
Dreamweaver UltraDev 1.
Description
This function returns the children of a top-level node.
Arguments
sourceName
The sourceName argument is the name of the top-level node whose children you want
to return.
Returns
Dreamweaver expects an array of JavaScript objects where each object can have as many as
four properties, which are described in the following list:
The title property is the label string that appears on the right of the icon for each parent
node. This property is required.
The allowDelete property is optional. If this property is set to the value false, when the
user clicks this node in the Bindings panel, the Minus (-) button is disabled. If this
property is set to the value
true, the Minus (-) button is enabled. If the property is not
defined, the default is the value
true.
Zobrazit stránku 394
1 2 ... 390 391 392 393 394 395 396 397 398 399 400 ... 503 504

Komentáře k této Příručce

Žádné komentáře