File size: 1,945 Bytes
80a180f |
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 |
var btn_evalTable = document.getElementById("btn_evalTable");
var btn_about = document.getElementById("btn_about");
var btn_plot = document.getElementById("btn_plot");
var btn_submit = document.getElementById("btn_submit");
var sec_evalTable = document.getElementById("sec_evalTable");
var sec_about = document.getElementById("sec_about");
var sec_plot = document.getElementById("sec_plot")
var sec_submit = document.getElementById("sec_submit");
btn_evalTable.addEventListener("click", function() {
sec_evalTable.style.display = "block";
sec_plot.style.display = "none";
sec_about.style.display = "none";
sec_submit.style.display = "none";
btn_evalTable.style.color = "#000000";
btn_plot.style.color = "#7c7b7b";
btn_about.style.color = "#7c7b7b";
btn_submit.style.color = "#7c7b7b";
});
btn_about.addEventListener("click", function() {
sec_evalTable.style.display = "none";
sec_plot.style.display = "none";
sec_about.style.display = "block";
sec_submit.style.display = "none";
btn_evalTable.style.color = "#7c7b7b";
btn_plot.style.color = "#7c7b7b";
btn_about.style.color = "#000000";
btn_submit.style.color = "#7c7b7b";
});
btn_plot.addEventListener("click", function() {
sec_evalTable.style.display = "none";
sec_plot.style.display = "block";
sec_about.style.display = "none";
sec_submit.style.display = "none";
btn_evalTable.style.color = "#7c7b7b";
btn_plot.style.color = "#000000";
btn_about.style.color = "#7c7b7b";
btn_submit.style.color = "#7c7b7b";
});
btn_submit.addEventListener("click", function() {
sec_evalTable.style.display = "none";
sec_plot.style.display = "none";
sec_about.style.display = "none";
sec_submit.style.display = "block";
btn_evalTable.style.color = "#7c7b7b";
btn_plot.style.color = "#7c7b7b";
btn_about.style.color = "#7c7b7b";
btn_submit.style.color = "#000000";
});
|