Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
 
(40 intermediate revisions not shown)
Line 13: Line 13:
{
{
document.getElementById("currentH").innerHTML = "Project";
document.getElementById("currentH").innerHTML = "Project";
-
                         createA("https://2014.igem.org/Team:Uppsala/Project_Adhesion", "https://static.igem.org/mediawiki/2014/2/26/Uppsala_igem2014_AdhesionV2.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_Killing", "https://static.igem.org/mediawiki/2014/c/c7/Uppsala_igem2014_KillingV2.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_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");
 +
                        $('#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_Simulation", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.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_Matlab", "https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.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)');
 +
var myNode = document.getElementById("imgwrapNH");
 +
while (myNode.firstChild) {
 +
    myNode.removeChild(myNode.firstChild);
 +
}
 +
 
}
}
-
else if (data.search("Parts")!== -1)
+
 
 +
else if (data.search("Policy")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Parts";
+
document.getElementById("currentH").innerHTML = "Policy & Practices";
-
createA("Colicin", "http://example.com");
+
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_MicrobialDesigns", "https://static.igem.org/mediawiki/2014/0/0a/Uppsala2014_Microbial_Designs.png");
-
createA("YenR", "http://example.com");
+
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_Outreach", "https://static.igem.org/mediawiki/2014/7/78/Uppsala2014_Outreach.png");
-
createA("USP45", "http://example.com");
+
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)');
-
else if (data.search("Human")!== -1)
+
 
-
{
+
var myNode = document.getElementById("imgwrapNH");
-
document.getElementById("currentH").innerHTML = "Human Practice";
+
while (myNode.firstChild) {
-
createA("https://2014.igem.org/Team:Uppsala/HumanPractice_Overview", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
    myNode.removeChild(myNode.firstChild);
-
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/HumanPractice_Continuity", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
-
}
+
-
else if (data.search("Notebook")!== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "Notebook";
+
-
createA("Protocols", "https://2014.igem.org/Team:Uppsala/Notebook_Protocols");
+
-
createA("Experiments", "https://2014.igem.org/Team:Uppsala/Notebook_Experiments");
+
-
createA("Results", "https://2014.igem.org/Team:Uppsala/Notebook_Results");
+
-
}
+
-
else if (data.search("Safety")!== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "Safety";
+
-
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/2/26/Uppsala_igem2014_AdhesionV2.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_KillingGroup", "https://static.igem.org/mediawiki/2014/2/26/Uppsala_igem2014_AdhesionV2.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_SensingGroup", "https://static.igem.org/mediawiki/2014/2/26/Uppsala_igem2014_AdhesionV2.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_TargetingGroup", "https://static.igem.org/mediawiki/2014/2/26/Uppsala_igem2014_AdhesionV2.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/2/26/Uppsala_igem2014_AdhesionV2.png");
+
createA("https://2014.igem.org/Team:Uppsala/Team_ModelingGroup", "https://static.igem.org/mediawiki/2014/5/51/Uppsala-igem2014Modelinglabe.png");
 +
 
}
}
else
else
Line 87: 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