Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
 
(18 intermediate revisions not shown)
Line 15: Line 15:
                         createA("https://2014.igem.org/Team:Uppsala/Project_Sensing", "https://static.igem.org/mediawiki/2014/2/2c/Uppsala_igem2014_SensingV2.png");
                         createA("https://2014.igem.org/Team:Uppsala/Project_Sensing", "https://static.igem.org/mediawiki/2014/2/2c/Uppsala_igem2014_SensingV2.png");
createA("https://2014.igem.org/Team:Uppsala/Project_Targeting", "https://static.igem.org/mediawiki/2014/5/55/Uppsala_igem2014_TargetingV2.png");
createA("https://2014.igem.org/Team:Uppsala/Project_Targeting", "https://static.igem.org/mediawiki/2014/5/55/Uppsala_igem2014_TargetingV2.png");
-
createA("https://2014.igem.org/Team:Uppsala/Project_Adhesion", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
 
createA("https://2014.igem.org/Team:Uppsala/Project_Killing", "https://static.igem.org/mediawiki/2014/c/c7/Uppsala_igem2014_KillingV2.png");
createA("https://2014.igem.org/Team:Uppsala/Project_Killing", "https://static.igem.org/mediawiki/2014/c/c7/Uppsala_igem2014_KillingV2.png");
 +
createA("https://2014.igem.org/Team:Uppsala/Project_Adhesion", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
createA("https://2014.igem.org/Team:Uppsala/Project_Notebook", "https://static.igem.org/mediawiki/2014/8/82/Uppsala-igem2014Notebook.png");
createA("https://2014.igem.org/Team:Uppsala/Project_Notebook", "https://static.igem.org/mediawiki/2014/8/82/Uppsala-igem2014Notebook.png");
-
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/f5/Uppsala_iGEM2014_Team_Proj.png)');
+
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
 +
                        var myNode = document.getElementById("imgwrapNH");
 +
                        while (myNode.firstChild) {
 +
                        myNode.removeChild(myNode.firstChild);
 +
                        }
}
}
else if (data.search("Modeling")!== -1)
else if (data.search("Modeling")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Modeling";
+
document.getElementById("currentH").innerHTML = '<img style="width:15%" src="https://static.igem.org/mediawiki/2014/c/c1/Uppsala2014_Modeling.png"> Modeling';
-
createA("https://2014.igem.org/Team:Uppsala/Modeling_MicroScale", "https://static.igem.org/mediawiki/2014/a/af/Uppsala2014_Cell-Cell_interaction.png");
+
createA("https://2014.igem.org/Team:Uppsala/Modeling_CellCellInteraction", "https://static.igem.org/mediawiki/2014/a/af/Uppsala2014_Cell-Cell_interaction.png");
-
createA("https://2014.igem.org/Team:Uppsala/Modeling_MacroScale", "https://static.igem.org/mediawiki/2014/a/a2/Uppsala2014_Population_level.png");
+
createA("https://2014.igem.org/Team:Uppsala/Modeling_PopulationLevel", "https://static.igem.org/mediawiki/2014/a/a2/Uppsala2014_Population_level.png");
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/3/3e/Uppsala_iGEM2014_Team_Mod.png)');
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/3/3e/Uppsala_iGEM2014_Team_Mod.png)');
 +
var myNode = document.getElementById("imgwrapNH");
 +
while (myNode.firstChild) {
 +
    myNode.removeChild(myNode.firstChild);
 +
}
 +
}
}
Line 31: Line 40:
{
{
document.getElementById("currentH").innerHTML = "Policy & Practices";
document.getElementById("currentH").innerHTML = "Policy & Practices";
-
createA("https://2014.igem.org/Team:Uppsala/PP_MicrobialDesigns", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_MicrobialDesigns", "https://static.igem.org/mediawiki/2014/0/0a/Uppsala2014_Microbial_Designs.png");
-
createA("https://2014.igem.org/Team:Uppsala/HumanPractice_Outreach", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_Outreach", "https://static.igem.org/mediawiki/2014/7/78/Uppsala2014_Outreach.png");
-
createA("https://2014.igem.org/Team:Uppsala/HumanPractice_Continuity", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_BusinessPlan", "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Buisness_plan.png");
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
-
}
 
-
else if (data.search("Safety")!== -1)
+
var myNode = document.getElementById("imgwrapNH");
-
{
+
while (myNode.firstChild) {
-
document.getElementById("currentH").innerHTML = "Safety";
+
    myNode.removeChild(myNode.firstChild);
-
createA("Safety", "http://example.com");
+
}
-
createA("More safety", "http://example.com");
+
-
createA("Max safety", "http://example.com");
+
}
}
-
else if (data.search("Attributions")!== -1)
 
-
{
 
-
document.getElementById("currentH").innerHTML = "Attributions";
 
-
createA("Attributions 1", "http://example.com");
 
-
createA("Attributions 2", "http://example.com");
 
-
createA("Attributions 2", "http://example.com");
 
-
}
 
else if (data.search("Team") !== -1)
else if (data.search("Team") !== -1)
{
{
document.getElementById("currentH").innerHTML = "Team";
document.getElementById("currentH").innerHTML = "Team";
-
createA("https://2014.igem.org/Team:Uppsala/Team_AdhesionGroup", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
 
-
createA("https://2014.igem.org/Team:Uppsala/Team_KillingGroup", "https://static.igem.org/mediawiki/2014/c/c7/Uppsala_igem2014_KillingV2.png");
 
createA("https://2014.igem.org/Team:Uppsala/Team_SensingGroup", "https://static.igem.org/mediawiki/2014/2/2c/Uppsala_igem2014_SensingV2.png");
createA("https://2014.igem.org/Team:Uppsala/Team_SensingGroup", "https://static.igem.org/mediawiki/2014/2/2c/Uppsala_igem2014_SensingV2.png");
                         createA("https://2014.igem.org/Team:Uppsala/Team_TargetingGroup", "https://static.igem.org/mediawiki/2014/5/55/Uppsala_igem2014_TargetingV2.png");
                         createA("https://2014.igem.org/Team:Uppsala/Team_TargetingGroup", "https://static.igem.org/mediawiki/2014/5/55/Uppsala_igem2014_TargetingV2.png");
 +
createA("https://2014.igem.org/Team:Uppsala/Team_KillingGroup", "https://static.igem.org/mediawiki/2014/c/c7/Uppsala_igem2014_KillingV2.png");
 +
createA("https://2014.igem.org/Team:Uppsala/Team_AdhesionGroup", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
createA("https://2014.igem.org/Team:Uppsala/Team_ModelingGroup", "https://static.igem.org/mediawiki/2014/5/51/Uppsala-igem2014Modelinglabe.png");
createA("https://2014.igem.org/Team:Uppsala/Team_ModelingGroup", "https://static.igem.org/mediawiki/2014/5/51/Uppsala-igem2014Modelinglabe.png");
 +
}
}
else
else
Line 79: Line 79:
a.href = link;
a.href = link;
node.appendChild(a);
node.appendChild(a);
-
document.getElementById("tabSection").appendChild(node);
+
document.getElementById("tabSection").appendChild(node);                
-
                       
+
}
}
-
 
</script>
</script>
            
            
</html>
</html>

Latest revision as of 21:23, 16 October 2014