mirror of
https://git.topisto.net/tibo/template.git
synced 2026-03-31 17:19:10 +00:00
initialisation with SMETI code
This commit is contained in:
11
frontend/src/scripts/ariane.js
Normal file
11
frontend/src/scripts/ariane.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function setFilAriane(ariane){
|
||||
let contenant = document.querySelector('nav>#ariane>#fil');
|
||||
if (contenant != null) {
|
||||
let fil = '';
|
||||
ariane.forEach(element => {
|
||||
fil += ' <span><a onclick="activeMenu(this)">'+element+'</a></span> >';
|
||||
});
|
||||
contenant.innerHTML = fil.slice(0,-2);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user