Team:Calgary/VGSandbox

From 2012.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
<body>
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-
Enter your weight in kilograms and your height in centimeters in the form below and press the "Let's see" button (Please read disclaimer below before using this form)
+
<head>
-
 
+
<title>iGEMGameV1_1</title>
-
<FORM NAME="BMI" method=POST>
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
<TABLE border=1>
+
<style type="text/css" media="screen">
-
<TR>
+
html, body { height:100%; background-color: #ffffff;}
-
<TD><DIV ALIGN=CENTER>Your Weight (kg)</DIV></TD>
+
body { margin:0; padding:0; overflow:hidden; }
-
<TD><DIV ALIGN=CENTER>Your Height (cm)</DIV></TD>
+
#flashContent { width:100%; height:100%; }
-
<TD><DIV ALIGN=CENTER>Your BMI</DIV></TD>
+
</style>
-
<TD><DIV ALIGN=CENTER>My Comment</DIV></TD>
+
</head>
-
</TR>
+
<body>
-
 
+
<div id="flashContent">
-
<TR>
+
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" id="iGEMGameV1_1" align="middle">
-
<TD><INPUT TYPE=TEXT NAME=weight  SIZE=10 onFocus="this.form.weight.value=''"></TD>
+
<param name="movie" value="iGEMGameV1_1.swf" />
-
<TD><INPUT TYPE=TEXT NAME=height  SIZE=10 onFocus="this.form.height.value=''"></TD>
+
<param name="quality" value="high" />
-
<TD><INPUT TYPE=TEXT NAME=bmi    SIZE=8 ></TD>
+
<param name="bgcolor" value="#ffffff" />
-
<TD><INPUT TYPE=TEXT NAME=my_comment size=35></TD>
+
<param name="play" value="true" />
-
</TABLE>
+
<param name="loop" value="true" />
-
 
+
<param name="wmode" value="window" />
-
<P>
+
<param name="scale" value="showall" />
-
<INPUT TYPE="button" VALUE="Let's see" onClick="computeform(this.form)">
+
<param name="menu" value="true" />
-
<INPUT TYPE="reset" VALUE="Reset" onClick="ClearForm(this.form)">
+
<param name="devicefont" value="false" />
-
</FORM>
+
<param name="salign" value="" />
-
 
+
<param name="allowScriptAccess" value="sameDomain" />
-
<HR>
+
<!--[if !IE]>-->
-
 
+
<object type="application/x-shockwave-flash" data="iGEMGameV1_1.swf" width="640" height="480">
-
 
+
<param name="movie" value="iGEMGameV1_1.swf" />
-
<B>Disclaimer</B>: This form is based on the calculation of
+
<param name="quality" value="high" />
-
<A HREF="http://phaster.com/unpretentious/bmi.html"><I>"Body Mass Index"</I></A>
+
<param name="bgcolor" value="#ffffff" />
-
and is only meant to be a demonstration of how Javascript(tm) could be used
+
<param name="play" value="true" />
-
on a Web Page. Information it contains may not be accurate and is not designed
+
<param name="loop" value="true" />
-
or intended to serve as medical advice. I am not liable for any physical or
+
<param name="wmode" value="window" />
-
psychological damages suffered as a result of using this script.
+
<param name="scale" value="showall" />
-
<p>This free script provided by
+
<param name="menu" value="true" />
-
<a href="http://javascriptkit.com">JavaScript
+
<param name="devicefont" value="false" />
-
Kit</a></p>
+
<param name="salign" value="" />
-
<hr>
+
<param name="allowScriptAccess" value="sameDomain" />
-
 
+
<!--<![endif]-->
-
<script language="javascript" src="https://static.igem.org/mediawiki/2012/8/88/Html5GameTest.txt">Javascript not supported!</script>
+
<a href="http://www.adobe.com/go/getflash">
-
 
+
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
-
</body>
+
</a>
 +
<!--[if !IE]>-->
 +
</object>
 +
<!--<![endif]-->
 +
</object>
 +
</div>
 +
</body>
</html>
</html>

Latest revision as of 21:54, 7 September 2012

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> iGEMGameV1_1