Return to Snippet

Revision: 31153
at August 31, 2010 04:58 by ghost1k


Updated Code
<script type="text/javascript">
	function showInviteDialog() {
			var dialog = new Dialog();
			dialog
				.setStyle('width', '622px')
				.showMessage('Title', inviteDialogVariable);
	}
</script>

<a href="#" onclick="showInviteDialog(); return false;">Invite dialog</a>

<fb:js-string var="inviteDialogVariable">

		<fb:request-form
			type="Button type"
			content="Invite <?php echo htmlentities('<fb:req-choice url="http://example.com/inviteAccepted.php" label="Button label"/>'); ?>"
			invite="true"
			action="http://where_to_sent_invite_uri/"
			method="post">

				<fb:multi-friend-selector
					actiontext="Some text"
					showborder="false"
					email_invite="true"
					cols="4"/>

		</fb:request-form>

</fb:js-string>

Revision: 31152
at August 31, 2010 04:56 by ghost1k


Initial Code
<script type="text/javascript">
	function showInviteDialog() {
			var dialog = new Dialog();
			dialog
				.setStyle('width', '622px')
				.showMessage('Title', inviteDialogVariable);
	}
</script>

<a href="#" onclick="showInviteDialog(); return false;">Invite dialog</a>

<fb:js-string var="inviteDialogVariable">

		<fb:request-form
				type="Fantasy Draft"
				content="Invite <?php echo htmlentities('<fb:req-choice url="http://example.com/inviteAccepted.php" label="Button label"/>'); ?>"
				invite="true"
				action="http://where_to_sent_invite_uri/"
				method="post">

				<fb:multi-friend-selector
						actiontext="Get a special Papa John's pizza delivery on an NFL game day during opening weekend. Plus, get fantasy football tips that you and your league can use all season."
						showborder="false"
						email_invite="true"
						cols="4"/>

		</fb:request-form>

</fb:js-string>

Initial URL

                                

Initial Description

                                

Initial Title
FBML Invite dialog

Initial Tags
facebook

Initial Language
HTML