Fb:header

From Facebook Developer Wiki

Revision as of 19:39, 24 October 2009 by Mark Harris (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Description

Renders a standard Facebook title header.

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.

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

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.

reference