comparison index-rlg.html @ 46:59ecd99845eb

rlgterm.js: make the options table functional. Enable launching games from the options table, and replace the old select dialog.
author John "Elwin" Edwards <elwin@sdf.org>
date Sat, 09 Jun 2012 17:00:25 -0700
parents 1bbd0e76ba92
children 33bdb3d466e3
comparison
equal deleted inserted replaced
45:1bbd0e76ba92 46:59ecd99845eb
84 <span onclick="textsize(false)">Smaller</span> 84 <span onclick="textsize(false)">Smaller</span>
85 <span onclick="textsize(true)">Larger</span> 85 <span onclick="textsize(true)">Larger</span>
86 </div> 86 </div>
87 </div> 87 </div>
88 <div class="modal" id="startgame"> 88 <div class="modal" id="startgame">
89 <form id="startform" action="/play" method="post"> 89 <div id="opttable"><div><div>Game</div><div>Actions</div></div></div>
90 <div>
91 Choose game: <select name="game" id="input_game">
92 <option label="Rogue V3" value="rogue3">Rogue V3</option>
93 <option label="Rogue V4" value="rogue4">Rogue V4</option>
94 <option label="Rogue V5" value="rogue5">Rogue V5</option>
95 <option label="Super-Rogue" value="srogue">Super-Rogue</option>
96 </select>
97 </div>
98 <div>
99 <input type="submit" value="Play" onclick="startgame(event)">
100 </div>
101 </form>
102 <div id="opttable">
103 <div><div>Game</div><div>Actions</div></div>
104 </div>
105 </div> 90 </div>
106 <div class="modal" id="login"> 91 <div class="modal" id="login">
107 <form id="loginform" action="/login" method="post"> 92 <form id="loginform" action="/login" method="post">
108 <div> 93 <div>
109 Name: <input type="text" name="name" id="input_name"> 94 Name: <input type="text" name="name" id="input_name">