Commit 63730deb authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

menu fixed: links not working

parent bbc562f2
Pipeline #77 passed with stage
in 2 seconds
...@@ -41,7 +41,7 @@ function head(){ ...@@ -41,7 +41,7 @@ function head(){
navelements.id="navelemente"; navelements.id="navelemente";
let logos = document.createElement('li'); let logos = document.createElement('li');
let link_m4lab = document.createElement('a'); let link_m4lab = document.createElement('a');
link_m4lab.href = "https://www.hft-stuttgart.de/Forschung/M4-Lab/"; link_m4lab.href = "https://transfer.hft-stuttgart.de/";
link_m4lab.innerHTML = "<img src='images/demo/m4lab_logo.jpg' alt='Logo Innovationslabor M4_LAB'>"; link_m4lab.innerHTML = "<img src='images/demo/m4lab_logo.jpg' alt='Logo Innovationslabor M4_LAB'>";
logos.appendChild(link_m4lab); logos.appendChild(link_m4lab);
for (let i = 1; i<5; i++){ for (let i = 1; i<5; i++){
...@@ -79,7 +79,7 @@ function head(){ ...@@ -79,7 +79,7 @@ function head(){
combolink.innerHTML = menu[j].combos[k].name; combolink.innerHTML = menu[j].combos[k].name;
combodiv.appendChild(combolink); combodiv.appendChild(combolink);
} }
headlink.appendChild(combodiv); headitem.appendChild(combodiv);
} }
headitem.appendChild(headlink); headitem.appendChild(headlink);
navelements.appendChild(headitem); navelements.appendChild(headitem);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment