Fb:header

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Renders a standard Facebook title header.


[edit] Attributes

RequiredNameTypeDescription
optional icon bool Toggles whether the application icon is displayed. No other icon can be displayed. (Default value is true.)
decoration string Customize the appearance of the title by choosing among three styles: add_border - Adds a 1px solid #ccc border to the bottom of the header. Useful for pages with gray backgrounds below the header. no_padding - Removes the 20px of padding that is on the header by default. shorten - Removes the 20px of padding from the bottom of the header.


[edit] Examples

<fb:header>My Photos</fb:header>
Image:FBML_header.jpg


<fb:header icon="false">My Photos</fb:header>
Image:FBML_header2.jpg


<fb:header decoration="no_padding">My Photos</fb:header>
Image:FBML_header3.jpg


[edit] See Also

You can see a real world example of this tag in the Restaurants demo application. Go to Demos for more details and to download and install the demo apps.