Skip to content
Snippets Groups Projects
Commit 99935575 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

update: fixing some question

parent bd09f86b
No related branches found
No related tags found
1 merge request!14update: fixing colors and updating JS and stuff
//This script is made to connect the search-box and the box-result.
/**
* Manage classic tabs.
* @param {string} pageName - Id of the tab content
* @param {HTMLElement} elmnt - Accordion element
*/
function openTab(pageName, elmnt) {
// Hide all elements with class="tabcontent" by default */
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
tablinks[i].classList.remove("active");
}
// Show the specific tab content
document.getElementById(pageName).style.display = "block";
elmnt.classList.add("active");
}
//This script is made to connect the search-box and the search-results webcomponents.
/**
* Remove pagination when there is no resource in a step group.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment