git » homepage.git » master » tree

[master] / md / TechWorks / demos / flapjax / index.html

<html>
  <head>
    <script type="text/javascript" src="http://www.flapjax-lang.org/download/flapjax-2.1.js"></script>
    <script type="text/javascript" src="main.js"></script>
    <link href="demo.css"/ media="screen" rel="stylesheet" type="text/css">
    <title>Flapjax Demo</title>
</style>
</head>

<body onload="alandipert.flapjax_demo.sum.calculate('result', 'n1', 'n2', 'n3')">
  <h1>Flapjax Sum Demo</h1>
  <!-- Inputs -->
  <input type="text" id="n1" value="0"/>
  <input type="text" id="n2" value="0"/>
  <input type="text" id="n3" value="0"/>
  <br/>
  <h2>--------------------------------------</h2>
  <br/>
  <strong>=</strong>
  <!-- Result -->
  <span id="result"/>
</body>

</html>