| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>Blockly Demo: Resizable Blockly (Part 1)</title> |
| 6 | <style> |
| 7 | html, body { |
| 8 | height: 100%; |
| 9 | margin: 0; |
| 10 | } |
| 11 | body { |
| 12 | background-color: #fff; |
| 13 | font-family: sans-serif; |
| 14 | overflow: hidden; |
| 15 | } |
| 16 | h1 { |
| 17 | font-weight: normal; |
| 18 | font-size: 140%; |
| 19 | } |
| 20 | table { |
| 21 | height: 100%; |
| 22 | width: 100%; |
| 23 | } |
| 24 | #blocklyArea { |
| 25 | height: 99%; |
| 26 | background: #fc9; |
| 27 | text-align: center; |
| 28 | } |
| 29 | </style> |
| 30 | </head> |
| 31 | <body> |
| 32 | <table> |
| 33 | <tr> |
| 34 | <td> |
| 35 | <h1><a href="https://developers.google.com/blockly/">Blockly</a> > |
| 36 | <a href="../index.html">Demos</a> > Resizable Blockly (Part 1)</h1> |
| 37 | |
| 38 | <p>The first step in creating a resizable Blockly workspace is to use |
| 39 | CSS or tables to create an area for it. |
| 40 | Next, <a href="overlay.html">inject Blockly</a> over that area.</p> |
| 41 | |
| 42 | <p>→ More info on <a href="https://developers.google.com/blockly/installation/injecting-resizable">injecting resizable Blockly</a>...</p> |
| 43 | </td> |
| 44 | </tr> |
| 45 | <tr> |
| 46 | <td id="blocklyArea"> |
| 47 | Blockly will be positioned here. |
| 48 | </td> |
| 49 | </tr> |
| 50 | </table> |
| 51 | </body> |
| 52 | </html> |