From Facebook Developers Wiki
[edit] Description
Renders a standard Facebook tab. Must always be a child of fb:tabs.
[edit] Attributes
| Required | Name | Type | Description |
| required | href | string | The URL to which the link should take the user upon click. must be absolute |
|
|---|
| title | string | Specifies the text to display on the tab. |
|
|---|
| optional | align | string | Specify alignment for this tab item. (Default value is left.). Other valid value is right |
|
|---|
| selected | bool | Indicates whether this tab item has the selected state. (Default value is false.) |
|
|---|
[edit] Examples
| <fb:tabs>
<fb:tab_item href="myphotos.php" title="My Photos" />
<fb:tab_item href="recent.php" title="Recent Albums" />
</fb:tabs> |
| <fb:tabs>
<fb:tab_item href="myphotos.php" title="My Photos" selected="true"/>
<fb:tab_item href="recent.php" title="Recent Albums" />
</fb:tabs> |
| <fb:tabs>
<fb:tab_item href="myphotos.php" title="My Photos" align="right"/>
<fb:tab_item href="recent.php" title="Recent Albums" align="right"/>
</fb:tabs> |
- fb:tabs and fb:tab-item do not render correctly within the FBML Test Console
- Dynamic FBML, clicktohide, clicktoshow, etc., does not work with this FBML tag.