Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
{
{
document.getElementById("currentH").innerHTML = "Adhesion Group";
document.getElementById("currentH").innerHTML = "Adhesion Group";
 +
                        $("#tab_selector").remove();
}       
}       
Line 24: Line 25:
{
{
document.getElementById("currentH").innerHTML = "Adhesion";
document.getElementById("currentH").innerHTML = "Adhesion";
 +
                        $("#tab_selector").remove();
}     
}     
                        
                        
Line 36: Line 38:
{
{
document.getElementById("currentH").innerHTML = "Killing";
document.getElementById("currentH").innerHTML = "Killing";
 +
                        $("#tab_selector").remove();
}
}
Line 47: Line 50:
{
{
document.getElementById("currentH").innerHTML = "Sensing";
document.getElementById("currentH").innerHTML = "Sensing";
 +
                        $("#tab_selector").remove();
}
}
Line 64: Line 68:
{
{
document.getElementById("currentH").innerHTML = "Targeting";
document.getElementById("currentH").innerHTML = "Targeting";
 +
                        $("#tab_selector").remove();
}
}
                         else if (data.search("Micro") !== -1)
                         else if (data.search("Micro") !== -1)
Line 90: Line 95:
{
{
document.getElementById("currentH").innerHTML = "Parts";
document.getElementById("currentH").innerHTML = "Parts";
 +
                        $("#tab_selector").remove();
}
}
else if (data.search("Overview")!== -1)
else if (data.search("Overview")!== -1)
Line 132: Line 138:
{
{
document.getElementById("currentH").innerHTML = "Safety";
document.getElementById("currentH").innerHTML = "Safety";
-
createA("", "#");
+
                        $("#tab_selector").remove();
-
createA("", "#");
+
-
createA("", "#");
+
-
changeContent("tab1");
+
-
changeContent("tab2");
+
-
changeContent("tab3");
+
}
}
else if (data.search("Attributions")!== -1)
else if (data.search("Attributions")!== -1)
{
{
document.getElementById("currentH").innerHTML = "Attributions";
document.getElementById("currentH").innerHTML = "Attributions";
-
createA("Attributions 1", "#");
+
                        $("#tab_selector").remove();
-
createA("Attributions 2", "#");
+
-
createA("Attributions 2", "#");
+
-
changeContent("tab1");
+
-
changeContent("tab2");
+
-
changeContent("tab3");
+
}
}
else if (data.search("InterlabStudy")!== -1)
else if (data.search("InterlabStudy")!== -1)
Line 162: Line 158:
{
{
document.getElementById("currentH").innerHTML = "Team";
document.getElementById("currentH").innerHTML = "Team";
-
createA("Team1", "#");
+
                        $("#tab_selector").remove();
-
createA("Team2", "#");
+
-
createA("Team3", "#");
+
-
changeContent("tab1");
+
-
changeContent("tab2");
+
-
changeContent("tab3");
+
}
}
else
else

Revision as of 15:54, 12 October 2014