|
|
@ -6,6 +6,7 @@ |
|
|
|
|
|
|
|
<link href="index.css" rel="stylesheet" type="text/css"> |
|
|
|
|
|
|
|
<script type="text/javascript" src="timers.js"></script> |
|
|
|
<script type="text/javascript" src="connection.js"></script> |
|
|
|
<script type="text/javascript" src="websocket.js"></script> |
|
|
|
<script type="text/javascript" src="drawing.js"></script> |
|
|
@ -16,22 +17,27 @@ |
|
|
|
</head> |
|
|
|
<body ontouchmove="prevent_scrolling(event);"> |
|
|
|
|
|
|
|
<div id="login"> |
|
|
|
<div id="login" class="modalDialog"> |
|
|
|
<div> |
|
|
|
<form onSubmit="return init()"> |
|
|
|
Name: <input type="text" id="loginname"><br/> |
|
|
|
<input type="submit" value="login"> |
|
|
|
Name:<br/> |
|
|
|
<input type="text" id="loginname"><br/> |
|
|
|
<input type="submit" value="Play!"> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<svg id="svgscreen" xmlns="http://www.w3.org/2000/svg" version="1.1"> |
|
|
|
<rect width="100%" height="100%" style="fill:rgb(255, 255, 255); opacity:0.1; stroke-width:1; stroke:rgb(0,0,0)"/> |
|
|
|
</svg> |
|
|
|
<div id="app"> |
|
|
|
<svg id="svgscreen" xmlns="http://www.w3.org/2000/svg" version="1.1"> |
|
|
|
<rect width="100%" height="100%" style="fill:rgb(255, 255, 255); opacity:0.1; stroke-width:1; stroke:rgb(0,0,0)"/> |
|
|
|
</svg> |
|
|
|
|
|
|
|
<div id="ballscreen"></div> |
|
|
|
<div id="ballscreen"></div> |
|
|
|
|
|
|
|
<div id="text"> |
|
|
|
(<span id="status">provide your name</span>) |
|
|
|
<a onClick="changeKind();" href="#">Change line kind (to <span id="line_kind">guitar</span>)</a> |
|
|
|
<div id="text"> |
|
|
|
(<span id="status">provide your name</span>) |
|
|
|
<a onClick="changeKind();" href="#">Change line kind (to <span id="line_kind">guitar</span>)</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</body> |
|
|
|