-
Notifications
You must be signed in to change notification settings - Fork 0
/
show.js
47 lines (37 loc) · 1.47 KB
/
show.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
// JQuery for having different song choice buttons
function show() {
document.getElementById("panel").style.display = "none"; // hides the panel
document.getElementById("panel2").style.display = "block"; // shows the panel
}
function show2(){
document.getElementById("panel").style.display = "block";
document.getElementById("panel2").style.display = "none";
}
function show3(){
document.getElementById("panel2").style.display = "none";
document.getElementById("panel3").style.display = "block";
}
function show4(){
document.getElementById("panel2").style.display = "block";
document.getElementById("panel3").style.display = "none";
}
function show5(){
document.getElementById("panel3").style.display = "none";
document.getElementById("panel4").style.display = "block";
}
function show6(){
document.getElementById("panel3").style.display = "block";
document.getElementById("panel4").style.display = "none";
}
function show7(){
document.getElementById("panel4").style.display = "none";
document.getElementById("panel5").style.display = "block";
}
function show8(){
document.getElementById("panel4").style.display = "block";
document.getElementById("panel5").style.display = "none";
}
// for showing next input
function showInfo(){
document.getElementById("infoInput").style.display = "block"; // hides the panel
}