Fb:window-title
From Facebook Developer Wiki
Contents |
Description
Sets the title of the browser window to the content within the tag. This way, you can wrap the title with fb:intl tags so users can translate the title of a page on your site.
This is an XFBML tag only.
Attributes
| Required | Name | Type | Description | |
| optional | style | string | Set to "display:none" so the page renders more smoothly. | |
|---|---|---|---|---|
| condition | string | Indicates whether the button is visible or hidden. See the Notes below for further explanation. |
Examples
Notes
Using the condition Attribute
All XFBML tags support the condition attribute. This attribute determines whether an XFBML element is visible or hidden. When condition is absent, the element is visible by default. The value of condition should be a string containing some JavaScript code. The JavaScript should be evaluated into either a boolean or an FB.Waitable object whose result field is a boolean. The FB.Waitable object is designed to allow asynchronous evaluation. For example, if you want to specify an element should be visible only if the current users can see the profile of another user, you can use this markup:
The following are some pre-built condition objects.
