27 lines
812 B
JavaScript
27 lines
812 B
JavaScript
const fsfw_click = document.getElementById("fsfw-click");
|
|
const sat_click = document.getElementById("sat-click");
|
|
const sat_content = document.getElementById("sat-rs-content");
|
|
const fsfw_content = document.getElementById("fsfw-content");
|
|
|
|
fsfw_click.addEventListener("click", () => {
|
|
fsfw_content.style.display = "flex";
|
|
sat_content.style.display = "none";
|
|
|
|
fsfw_click.style.backgroundColor = "#555"
|
|
fsfw_click.style.color = "white"
|
|
|
|
sat_click.style.backgroundColor = "#f1f1f1"
|
|
sat_click.style.color = "#000"
|
|
|
|
});
|
|
|
|
sat_click.addEventListener("click", () => {
|
|
fsfw_content.style.display = "none";
|
|
sat_content.style.display = "flex";
|
|
|
|
fsfw_click.style.backgroundColor = "#f1f1f1"
|
|
fsfw_click.style.color = "#000"
|
|
sat_click.style.backgroundColor = "#555"
|
|
sat_click.style.color = "white"
|
|
});
|