Changes

Jump to navigation Jump to search
1,378 bytes added ,  10:11, 25 August 2020
no edit summary
/* Javascript filter for Documention page--------------------------------------------------------------------*/
// animate divs on start
};
--------------------------------------------------------------------* function openForm(evt, formName) { // Declare all variables var i, tabcontent, tablinks; evt.preventDefault();  // Get all elements with class="tabcontent" and hide them //tabcontent = document.getElementsByClassName("contextxmlform"); //for (i = 0; i < tabcontent.length; i++) { // tabcontent[i].style.display = "none"; //}  // Show the current tab, and add an "active" class to the link that opened the tab if (evt.currentTarget.className.includes(' active')) { evt.currentTarget.className.replace(" active", ""); // Get all elements with class="tablinks" and remove the class "active" tablinks = document.getElementsByClassName("tablinks"); for (i = 0; i < tablinks.length; i++) { tablinks[i].className = tablinks[i].className.replace(" active", ""); } document.getElementById(formName).style.display = "none"; } else { // Get all elements with class="tablinks" and remove the class "active" tablinks = document.getElementsByClassName("tablinks"); for (i = 0; i < tablinks.length; i++) { tablinks[i].className = tablinks[i].className.replace(" active", ""); } document.getElementById(formName).style.display = "block"; evt.currentTarget.className += " active"; } }

Navigation menu