<fb:explanation/>
Here is example FBML code for
<fb:explanation/>
by itself (using the
message
attribute):
<fb:explanation message="This is why you shouldn't have pushed the button."/>
And here is example FBML code for
<fb:explanation/>
with an
<fb:message/>
tag embedded:
<fb:explanation> This is why you shouldn't have pushed the button. <fb:message> We told you! </fb:message> </fb:explanation>
The rendered HTML for the first example looks like this (Figure 3-4 shows the result):
<div class="standard_message has_padding"><h1 class="explanation_note"> This is why you shouldn't have pushed the button. </h1></div>
The rendered HTML for the second example looks like this (Figure 3-5 shows the result):
<div class="standard_message has_padding"><h1 class="explanation_note"> We told you! <p> This is why you shouldn't have pushed the button. </p> </h1></div>
The <fb:explanation/> tag must
contain one <fb:message/> tag or one
message
attribute to specify the explanation
heading text.
The content for the explanation is optional.
[4] You can see this example in action at http://apps.facebook.com/fbmlessentials/?action=explanation.
3.143.254.151