You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.4 KiB

function HideOrShowFont(obj) {
if (obj == "a1") {
document.getElementById("a1").style.color = "#bbffaa";
document.getElementById("a2").style.color = "#333";
document.getElementById("a3").style.color = "#333";
document.getElementById("a4").style.color = "#333";
document.getElementById("a5").style.color = "#333";
document.getElementById("a6").style.color = "#333";
}
else if (obj == 'a2') {
document.getElementById("a1").style.color = "#333";
document.getElementById("a2").style.color = "#bbffaa";
document.getElementById("a3").style.color = "#333";
document.getElementById("a4").style.color = "#333";
document.getElementById("a5").style.color = "#333";
document.getElementById("a6").style.color = "#333";
}
else if (obj == 'a3') {
document.getElementById("a1").style.color = "#333";
document.getElementById("a2").style.color = "#333";
document.getElementById("a3").style.color = "#bbffaa";
document.getElementById("a4").style.color = "#333";
document.getElementById("a5").style.color = "#333";
document.getElementById("a6").style.color = "#333";
}
else if (obj == 'a4') {
document.getElementById("a1").style.color = "#333";
document.getElementById("a2").style.color = "#333";
document.getElementById("a3").style.color = "#333";
document.getElementById("a4").style.color = "#bbffaa";
document.getElementById("a5").style.color = "#333";
document.getElementById("a6").style.color = "#333";
}
else if (obj == 'a5') {
document.getElementById("a1").style.color = "#333";
document.getElementById("a2").style.color = "#333";
document.getElementById("a3").style.color = "#333";
document.getElementById("a4").style.color = "#333";
document.getElementById("a5").style.color = "#bbffaa";
document.getElementById("a6").style.color = "#333";
}
else if (obj == 'a6') {
document.getElementById("a1").style.color = "#333";
document.getElementById("a2").style.color = "#333";
document.getElementById("a3").style.color = "#333";
document.getElementById("a4").style.color = "#333";
document.getElementById("a5").style.color = "#333";
document.getElementById("a6").style.color = "#bbffaa";
}
}