.navigation-section-one::after{ background: #1f1e1d !important; } .navigation-section-two::after{ background: #f53d1f !important; } .navigation-section-three::after{ background: #1f1e1d !important; } .navigation-section-four::after{ background: #f53d1f !important; } .navigation-section-one-not-selected::after{ background-color: #b3b3b3 !important; } .navigation-section-two-not-selected::after{ background-color: #cccccc !important; } .navigation-section-three-not-selected::after{ background-color: #cccccc !important; } .navigation-section-four-not-selected::after{ background-color: #cccccc !important; }
section.firstSection = function () { if (!isNavigationElementsRendered()) return; navigationBarElements[0].classList.add("navigation-section-one"); navigationBarElements[0].classList.remove("navigation-section-one-not-selected"); }; section.secondSection = function () { if (!isNavigationElementsRendered()) return; navigationBarElements[1].classList.add("navigation-section-two"); navigationBarElements[0].classList.remove("navigation-section-two-not-selected"); }; section.thirdSection = function () { if (!isNavigationElementsRendered()) return; navigationBarElements[0].classList.add("navigation-section-three"); navigationBarElements[0].classList.remove("navigation-section-three-not-selected"); }; section.fourthSection = function () { if (!isNavigationElementsRendered()) return; navigationBarElements[0].classList.add("navigation-section-four"); navigationBarElements[0].classList.remove("navigation-section-four-not-selected"); };
navigation-section-three
navigation-section-four
navigation-section-three-not-selected
navigation-section-four-not-selected
navigation-section-third
navigation-section-fourth
navigation-section-third-not-selected
navigation-section-fourth-not-selected
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)