Return to Snippet

Revision: 31257
at September 1, 2010 23:51 by ghost1k


Initial Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
		<script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
		<style type="text/css" media="screen">
html, body{
	margin:0px;
	padding:0px;
}

</style>
	</head>
	<body>
		<script type="text/javascript">
			FB.init("<?php echo $this->api_key; ?>", "<?php echo $this->serverUrl() . '/data/xd_receiver.htm'; ?>");
		</script>
		<a class="close" href="#" onclick="document.location = '<?php echo $this->serverUrl() . "/img/1px.gif"; ?>'; return false;"></a>

<fb:serverFbml>
	<script type="text/fbml">
		<fb:fbml>
			<div class="wrap">
				<fb:request-form
					type="Test"
					content="<?php echo $this->inviteText . htmlentities('<fb:req-choice url="' . $this->serverUrl() . $this->url(array('action' => 'inviteaccepted')) . '" label="Label"/>'); ?>"
					invite="true"
					action="<?php echo $this->serverUrl() . $this->url(array('action' => 'invitesent')); ?>"
					method="post">

					<div class="inviteWrap">
						<div class="headerImage"></div>
					</div>

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

				</fb:request-form>
			</div>

		</fb:fbml>
	</script>
</fb:serverFbml>
	</body>
</html>

Initial URL

                                

Initial Description

                                

Initial Title
IFrame invite dialog

Initial Tags
facebook

Initial Language
HTML