Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 63: Line 63:
else if (data.search("Safety")!== -1)
else if (data.search("Safety")!== -1)
{
{
-
var myNode = document.getElementById("imgwrapNH");
+
                        var myNode = document.getElementById("imgwrapNH");
-
while (myNode.firstChild) {
+
                        while (myNode.firstChild) {
-
    myNode.removeChild(myNode.firstChild);
+
                        myNode.removeChild(myNode.firstChild);
-
}
+
                        }
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/6/6f/Uppsala_iGEM2014_Team_headerSafety.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";

Revision as of 21:22, 16 October 2014