-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
62 lines (60 loc) · 1.6 KB
/
script.js
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
//Made by Max
//Github: https://github.com/max-acc
//Only edit this if you know what you are doing
var openPage = 1;
function nextSubtopic() {
switch (openPage) {
case 0:
window.location.href = "#structure";
openPage++;
document.getElementById("inputbox").focus();
break;
case 1:
window.location.href = "#Subtopic01";
openPage++;
document.getElementById("inputbox").focus();
break;
case 2:
window.location.href = "#Subtopic02";
openPage++;
document.getElementById("inputbox").focus();
break;
case 3:
window.location.href = "#Subtopic03";
openPage++;
document.getElementById("inputbox").focus();
break;
case 4:
window.location.href = "#Subtopic04";
openPage++;
document.getElementById("inputbox").focus();
break;
case 5:
window.location.href = "#Subtopic05";
openPage++;
document.getElementById("inputbox").focus();
break;
case 6:
window.location.href = "#Subtopic06";
openPage++;
document.getElementById("inputbox").focus();
break;
case 7:
window.location.href = "#Subtopic07";
openPage++;
document.getElementById("inputbox").focus();
break;
case 8:
window.location.href = "#Subtopic08";
openPage++;
document.getElementById("inputbox").focus();
break;
case 9:
window.location.href = "#sources";
openPage++;
document.getElementById("inputbox").focus();
break;
default:
break;
}
}