Facebook 2008 FBML Guida Utente Pagina 63

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 159
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 158 159

Commenti su questo manuale

Nessun commento