wordle.html
author Benjamin Smedberg <benjamin@smedbergs.us>
Fri, 12 Dec 2008 15:16:16 -0500
changeset 6 a87e989288856cad3fd440f567c676677f75428a
parent 5 b45eafc866605e37847c98167c2daab3a4cdd371
permissions -rw-r--r--
Asynchronicity was pretty easy!

<head>
  <title>Trying to replicate wordle.net</title>
  <style type="text/css">
    td {
      vertical-align: top;
    }
  </style>
</head>
<body>
  <div>
  <input type="button" value="Get Words" onclick="drawasync()">
  </div>

  <table>
   <tr>
    <td>
     <canvas width="800" height="800" id="cc" style="border: 1px solid black;"></canvas>
    <td>
     <pre id="status"></pre>
  </table>

  <iframe src="about:blank" id="i" style="display: none"></iframe>

  <script type="application/javascript;version=1.8" src="jswordle.js">
  </script>
</body>