2022-10-10 20:51:35 +01:00
|
|
|
function inflateSidebar() {
|
2022-10-10 21:04:21 +01:00
|
|
|
document.getElementById("sidebar").style.width = "150px";
|
2022-10-10 20:51:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
function collapseSidebar() {
|
|
|
|
document.getElementById("sidebar").style.width = "0px";
|
2022-10-18 12:48:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
function sidebarToggle() {
|
|
|
|
var bar = document.getElementById("sidebar");
|
2022-10-18 12:51:20 +01:00
|
|
|
if (bar.style.height === "0px") {
|
2022-10-18 12:48:35 +01:00
|
|
|
bar.style.height = "100%";
|
|
|
|
bar.style.display = "block";
|
|
|
|
} else {
|
2022-10-18 12:51:20 +01:00
|
|
|
bar.style.height = "0px";
|
2022-10-18 12:48:35 +01:00
|
|
|
bar.style.display = "none";
|
|
|
|
}
|
2022-10-07 20:14:11 +01:00
|
|
|
}
|