-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdice.html
47 lines (41 loc) · 945 Bytes
/
dice.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>phext.io - dice roll</title>
<link rel="stylesheet" href="homepage.css?rev=4.2.0" />
<style type="text/css">
body {
margin: 0 auto;
width: 80%;
}
</style>
<script type="text/javascript" src="phextio.ts?rev=4.2.0"></script>
<script type="text/javascript">
var dice = false;
var roll = false;
function setup()
{
dice = dgid("dice");
roll = dgid("roll");
}
function generate()
{
var result = "";
}
</script>
</head>
<body onload="setup();">
<div id="root">
<a href="index.html">Back to Homepage</a>
<h1>dice roll sequences</h1>
<table>
<tr>
<td><label># of Dice:</td><td><input type="text" name="dice" id="dice" value="20" /></label></td>
</tr><tr>
<td><label># of Players:</td><td><input type="text" name="players" id="players" value="4" /></label></td>
</tr>
</table>
<input type="button" name="roll" id="roll" value="Roll" onclick="generate();" />
</div>
</body>
</html>