Commit ca6f1228 authored by Athanasios's avatar Athanasios
Browse files

Open links in new tab

Open links in new tab under the Zusammenarbeit menu
parent 3e34dc60
Showing with 3 additions and 0 deletions
+3 -0
...@@ -120,6 +120,9 @@ function head() { ...@@ -120,6 +120,9 @@ function head() {
combolink.classList.add("dropdown-item"); combolink.classList.add("dropdown-item");
combolink.href = menu[j].combos[k].link; combolink.href = menu[j].combos[k].link;
combolink.innerHTML = menu[j].combos[k].name; combolink.innerHTML = menu[j].combos[k].name;
if(menu[j].name == "Zusammenarbeit"){
combolink.setAttribute("target", "_blank");
}
combodiv.appendChild(combolink); combodiv.appendChild(combolink);
} }
headitem.appendChild(combodiv); headitem.appendChild(combodiv);
......
Supports Markdown
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