Facebook 2008 FBML Betriebsanweisung Seite 63

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 159
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 62
facebook FBML Reference Guide Page 63 of 159
Fb:random-option
Description
Contains code to be output when selected by the fb:random tag. You can control the frequency of this pick with
the weight attribute.
The fb:random-option tag must be inside an fb:random tag.
Attributes
Required Name Type Description
optional weight
float
Allows for controlling the frequency of a choice. (default value is 1.0)
Examples
<fb:random>
<fb:random-option weight="2">A: This text appears twice as often as B.</fb:random-option>
<fb:random-option weight="1">B: This text appears half as often as A.</fb:random-option>
</fb:random>
a screenshot is not applicable for this tag
Notes
Weights of options are relative to the number of options left, which shrinks if unique==true and pick>1
in the parent fb:random tag.
Weights of options can be any float > 0. The weights are relative to each other, not necessarily to 1.
www.yapish.com
Seitenansicht 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 158 159

Kommentare zu diesen Handbüchern

Keine Kommentare