Ihr PHYWE Service - Alles auf einen Blick
Wählen Sie Ihr Anliegen und genießen Sie den Rundumservice von PHYWE:
const el = document.getElementById("Kundendienst");
el.addEventListener("click", hideSVG, false);
function hideSVG() {
var style = document.getElementById("Produktberatung").style.display;
if (style === "none") {
var elems1a = document.getElementsByClassName("svgkundendienst");
for (ia1 = 0; ia1 < elems1a.length; ia1++) {
elems1a[ia1].style.display = "block";
}
var elems2a = document.getElementsByClassName("svgservice");
for (ia2 = 0; ia2 < elems2a.length; ia2++) {
elems2a[ia2].style.display = "none";
}
var elems3a = document.getElementsByClassName("svgkundendienstbutton");
for (ia3 = 0; ia3 < elems3a.length; ia3++) {
elems3a[ia3].classList.add("svgkundendienstbutton-active");
}
var elems4a = document.getElementsByClassName("svgkundendienstbutton");
for (ia4 = 0; ia4 < elems4a.length; ia4++) {
elems4a[ia4].setAttribute("transform", "translate(-800, -100)");
}
}
else
{
var elems1b = document.getElementsByClassName("svgkundendienst");
for (ib1 = 0; ib1 < elems1b.length; ib1++) {
elems1b[ib1].style.display = "none";
}
var elems2b = document.getElementsByClassName("svgservice");
for (ib2 = 0; ib2 < elems2b.length; ib2++) {
elems2b[ib2].style.display = "block";
}
var elems3b = document.getElementsByClassName("svgkundendienstbutton");
for (ib3 = 0; ib3 < elems3b.length; ib3++) {
elems3b[ib3].classList.remove("svgkundendienstbutton-active");
}
var elems4b = document.getElementsByClassName("svgkundendienstbutton");
for (ib4 = 0; ib4 < elems4b.length; ib4++) {
elems4b[ib4].setAttribute("transform", "translate(0, 0)");
}
}
}
var kundendienstcheck = location.hash;
if (kundendienstcheck == "#kundendienst") {
hideSVG();
}