Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 59: Line 59:
else if (data.search("Safety")!== -1)
else if (data.search("Safety")!== -1)
{
{
-
                         $('#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/6/6f/Uppsala_iGEM2014_Team_headerSafety.png)');
document.getElementById("currentH").innerHTML = "Safety";
document.getElementById("currentH").innerHTML = "Safety";
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Gene_design_red.png", "GdesignPic");
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Gene_design_red.png", "GdesignPic");
Line 136: Line 136:
changeContent("tab2");
changeContent("tab2");
changeContent("tab4");
changeContent("tab4");
-
}
 
-
 
-
else if (data.search("Safety")!== -1)
 
-
{
 
-
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/6/6f/Uppsala_iGEM2014_Team_headerSafety.png)');
 
-
document.getElementById("currentH").innerHTML = "Safety";
 
}
}

Revision as of 22:08, 15 October 2014