-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
65 lines (64 loc) · 1.62 KB
/
script.js
File metadata and controls
65 lines (64 loc) · 1.62 KB
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
function images_toggle(){
var x=document.querySelector(".sidebar_images_dropdown");
if (x.style.display==="block"){
x.style.display="none";
} else {
x.style.display="block";
}
}
function tutorials_toggle(){
var x=document.querySelector(".dropdown");
if (x.style.display==="flex"){
x.style.display="none";
} else {
x.style.display="flex";
}
}
function links_toggle(){
var x=document.querySelector(".sidebar_links_dropdown");
if (x.style.display==="block"){
x.style.display="none";
} else {
x.style.display="block";
}
}
function tables_toggle(){
var x=document.querySelector(".tables_dropdown");
if (x.style.display==="block"){
x.style.display="none";
} else {
x.style.display="block";
}
}
function lists_toggle(){
var x=document.querySelector(".lists_dropdown");
if (x.style.display==="block"){
x.style.display="none";
} else {
x.style.display="block";
}
}
// function dropdown_function(){
// var x=document.querySelector(".sidebar_dropdown");
// if (x.style.display==="block"){
// x.style.display="none";
// } else {
// x.style.display="block";
// }
// }
function sidebar_toggle(){
var x=document.querySelector(".side_navbar-outer");
if (x.style.display==="none"){
x.style.display="block";
} else {
x.style.display="none";
}
}
function report_error_toggle(){
var x=document.querySelector(".report_error")
if (x.style.display==="block"){
x.style.display="none";
} else {
x.style.display="block"
}
}