Name

<fb:if/>

Synopsis

<fb:if>...<fb:else>...</fb:else></fb:if>

Renders the content within the tags only if the value is equal to true. If the value is set to false, nothing is returned. For this tag to be useful, some external programming is necessary to set the content of the value either to true or false.

FBML-Specific Attributes

Required

None.

Optional

value=[true|false] default: false

Returns the content within the tags unless value="false".

Example FBML

Here is example FBML code for <fb:if/>:

<fb:if value="true"> Display some content here </fb:if>

Rendered HTML for Single Instance of Tag

If the value attribute is set to true, the rendered HTML looks like this:

Display some content here
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.136.119