Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 17: Line 17:
var data = window.location.href;
var data = window.location.href;
var List = document.getElementById("tabs");
var List = document.getElementById("tabs");
-
if (data.search("Team") !== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "/Team";
+
-
createA("Team1", "#");
+
-
createA("Team2", "#");
+
-
createA("Team3", "#");
+
-
}
+
else if (data.search("Project") !== -1)
else if (data.search("Project") !== -1)
{
{
Line 76: Line 70:
createA("Attributions 2", "#");
createA("Attributions 2", "#");
createA("Attributions 2", "#");
createA("Attributions 2", "#");
 +
}
 +
if (data.search("Team") !== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "/Team";
 +
createA("Team1", "#");
 +
createA("Team2", "#");
 +
createA("Team3", "#");
}
}
else
else

Revision as of 15:28, 16 July 2014