diff options
author | Carlo Zancanaro <carlo@clearboxsystems.com.au> | 2013-09-05 14:35:10 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@clearboxsystems.com.au> | 2013-09-05 14:35:10 +1000 |
commit | 04459f540bd462d979b02cb946087ce02b9bbb55 (patch) | |
tree | 317a6e1e8b1e46fd667d675058368e9ebd48be7c /index.html | |
parent | 73ff39dbdd23179728a510b30ba65a3d242b84f0 (diff) |
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -7,6 +7,9 @@ </head> <body> <h1>History Bible Game</h1> + <div id="go-button"> + <button>Start</button> + </div> <div class="container"> <ul class="bible-game sortable" id="source"> <li data-index="0">Genesis</li> @@ -34,9 +37,12 @@ <script src="jquery.min.js"></script> <script src="jquery-ui.min.js"></script> <script src="game.js"></script> - <script> + <script> $(function() { + $("#go-button button").click(function() { + $(this).text("Restart"); startGame("#source", "#target", "#message"); + }); }); </script> </body> |