5,960
edits
No edit summary |
No edit summary |
||
Line 66: | Line 66: | ||
function customPrint() { | function customPrint() { | ||
window.print(); | window.print(); | ||
} | } | ||
Line 127: | Line 126: | ||
var a = "drawer-button-"+x; //outputs something like "drawer-button-1" | var a = "drawer-button-"+x; //outputs something like "drawer-button-1" | ||
var b = document.getElementById(a); //outputs something like document.getElementById("drawer-button-1") | var b = document.getElementById(a); //outputs something like document.getElementById("drawer-button-1") | ||
if (z.style.display | if (z.style.display == "block") { | ||
z.style.display = "none"; | z.style.display = "none"; | ||
b.innerHTML = "Expand"; | b.innerHTML = "Expand"; |