-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
63 lines (62 loc) · 2.2 KB
/
index.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
<html>
<head>
<meta charset="utf-8"/>
<title>Faceroll Overlay</title>
<link rel="stylesheet" type="text/css" href="faceroll_parse.css"/>
<script src="faceroll_parse.js"></script>
<script src="faceroll_config.ini"></script>
</head>
<body>
<div id="table_box">
<div id="encounter">
<div class="colorBlue">等待数据传入 FRMv1.98</div>
<div class="symbol colorYellow">
<span id="toggle7" onclick="toggleDmg()">~</span>
<span id="toggle5" onclick="toggleRole()">i</span>
<span id="toggle4" onclick="toggleFarce()">®</span>
<span id="toggle3" onclick="toggleName()">®</span>
<span id="toggle2" onclick="toggleDps()">q</span>
<span id="toggle1" onclick="toggleOp()">2</span>
</div>
</div>
<table id="combatantTable">
</table>
</div>
</body>
<script>
var toggleIcon;
if (dmgMode == 1) {
toggleIcon = document.getElementById('toggle7');
toggleIcon.classList.add('toggleDisplay');
}
if (maskMode == 1) {
toggleIcon = document.getElementById('toggle4');
toggleIcon.classList.add('toggleDisplay');
} else if (maskMode == 2) {
toggleIcon = document.getElementById('toggle3');
toggleIcon.classList.add('toggleDisplay');
} else {
toggleIcon = document.getElementById('toggle4');
toggleIcon.classList.add('toggleDisplay');
toggleIcon = document.getElementById('toggle3');
toggleIcon.classList.add('toggleDisplay');
}
if (filterkMode == 1) {
toggleIcon = document.getElementById('toggle5');
toggleIcon.classList.add('toggleDisplay');
}
if (dpsMode == 1) {
toggleIcon = document.getElementById('toggle2');
toggleIcon.classList.add('toggleDisplay');
}
if (opMode == 1) {
toggleIcon = document.getElementById('toggle1');
toggleIcon.classList.add('toggleDisplay');
}
if (boxAlpha > 0 && boxAlpha <= 100) {
var box = document.getElementById('table_box');
box.style.backgroundColor = "rgba(0,0,0," + (boxAlpha / 100) + ")";
box.style.boxShadow = "rgba(0,0,0," + (boxAlpha / 100) + ") 0px 0px 7px 4px";
}
</script>
</html>