forked from TheKotti/thekotti.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
roulettemini.html
70 lines (62 loc) · 2.47 KB
/
roulettemini.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head lang="en">
<title>Hitman Roulette</title>
<link rel="stylesheet" href="css/BMmini.css" type="text/css" id="theme_css" />
<meta charset="utf-8">
</head>
<body>
<section id="roulettesection">
<select id="missionselect">
<option value="RANDOM">Random Mission</option>
<option value="AVY">A Vintage Year</option>
<option value="CD">Curtains Down</option>
<option value="FL">Flatline</option>
<option value="ANL">A New Life</option>
<option value="TMOC">The Murder of Crows</option>
<option value="YBWO">You Better Watch Out...</option>
<option value="DOTM">Death on the Mississippi</option>
<option value="TDDUP">Till Death Do Us Part</option>
<option value="AHOC">A House of Cards</option>
<option value="ADWTD">A Dance with the Devil</option>
<option value="AXXV">Amendment XXV</option>
</select>
<button type="button" style="display:inline" onclick="clearAll(),extraVariables(),chooseMission(),extraAmount()">Make it go</button>
<br><select id="extraselect">
<option value="RANDOM">Random extras</option>
<option value="0">No extras</option>
<option value="1">1 extra</option>
<option value="2">2 extras</option>
<option value="3">3 extras</option>
<option value="4">4 extras</option>
</select>
<p id="chosenmission"></p>
<p id="mainresult"></p>
<p id="extra1" class="missionextras"></p>
<p id="extra2" class="missionextras"></p>
<p id="extra3" class="missionextras"></p>
<p id="extra4" class="missionextras"></p>
<p id="extra5" class="missionextras"></p>
<p id="getshotextra" class="genericextras"></p>
<p id="distractionsextra" class="genericextras"></p>
<p id="knockoutsextra" class="genericextras"></p>
<p id="suitonlyextra" class="genericextras"></p>
<a id="themeswitch" href="#">Switch theme</a>
<script src="js/roulette.js"></script>
<script>
document.getElementById("themeswitch").onclick = function(){
var theme = document.getElementById("theme_css");
if (theme.href.match("css/BMmini.css")) {
theme.href = "css/BMminidark.css";
} else if (theme.href.match = "css/BMminidark.css") {
theme.href = "css/BMmini.css";
}
var section = document.getElementById('filters');
var nappi = document.getElementById('filterbutton');
section.style.display = "block"
nappi.innerHTML = "Hide options";
}
</script>
</section>
</body>
</html>