From OpenSocial Directory
| Thumbnail
|
|
|
|
Image:Example.jpg==Reviews==
Add a Review
Template:Super Mario Bros Reviews
[edit] Comments
View Code
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Super Mario Bros" height="320" scrolling="true" author_email="admin@gameoften.com" author_location="USA" screenshot="http://www.pwncade.com/facebook/smb.jpg" thumbnail="http://www.pwncade.com/facebook/smb.jpg">
<Require feature="flash" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<style type="text/css">
input.mybutton
{
background-color:#eeeeee;
border-style:solid;
border-color:#000000;
font-family:Comic Sans MS,sans-serif;
font-size:14px;
}
</style>
<div id="flashcontainer" style="text-align: center;"></div>
<script type="text/javascript">
// Display still photo.
function showPhoto() {
_gel("flashcontainer").innerHTML = "<img src='http://www.pwncade.com/facebook/smb.jpg' width=300px height=220px /img>";
}
// Play .swf file for specified trick.
function doTrick(trick) {
// The URL for the .swf file that shows the specified trick.
var url = "http://www.GameOften.com/files/file/smb.swf";
// Play .swf file.
_IG_EmbedFlash(url, "flashcontainer", {
swf_version: 6,
id: "flashid",
width: 300,
height: 220
})
}
// When gadget first loads, display still photo.
_IG_RegisterOnloadHandler(showPhoto);
</script>
<br />
<div style="text-align: center;">
<input type=submit class="mybutton" value="Play" onClick="doTrick('spin')">
<input type=submit class="mybutton" value="Full Screen" onClick="window.open('http://www.gameoften.com/?source=opensocial','Duck Hunt');">
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1014419-4";
urchinTracker();
</script>
]]>
</Content>
</Module>
Page Rating
Rating: 2.8/5 (5 votes cast)