diff options
| author | lizhineng <[email protected]> | 2013-06-07 23:30:20 +0800 |
|---|---|---|
| committer | lizhineng <[email protected]> | 2013-06-07 23:30:20 +0800 |
| commit | 006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152 (patch) | |
| tree | 86b42eba1c29afebec82040e9856bbe5302d8add /index.html | |
| parent | c080e07ee1a0004d732508f9ed011678a38eda5e (diff) | |
| download | word-search-game-006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152.tar.gz word-search-game-006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152.zip | |
optimized the expressions and fixed some bugs
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -7,16 +7,17 @@ </head> <body> <div class="wrap"> - <h1>Word search game</h1> - <section id="gameArea"></section> + <h1 class="logo">Word search game</h1> + <section id="ws-area" class="fix"></section> </div> + <a href="https://github.com/lizhineng/word-search-game"><img style="position: absolute; top: 0; right: 0; border: 0;" src="images/forkme_right_red.png" alt="Fork me on GitHub"></a> <script src="js/utility.js"></script> <script src="js/wordsearch.js"></script> <script type="text/javascript"> - var gameAreaEl = document.getElementById('gameArea'); + var gameAreaEl = document.getElementById('ws-area'); gameAreaEl.wordSeach({ 'gridSize': 10, - 'words': ['apple'] + 'words': ['one', 'two', 'three', 'four', 'five'] }); </script> </body> |
