Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
else if (data.search("Adhesion") !== -1)
else if (data.search("Adhesion") !== -1)
{
{
-
document.getElementById("currentH").innerHTML = '<img style ="width:25%" src="https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Adhesion.png">Adhesion';
+
document.getElementById("currentH").innerHTML = '<img style ="width:25%"
 +
                        src="https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Adhesion.png">Adhesion';
}     
}     
                        
                        
Line 29: Line 30:
else if (data.search("Killing")!== -1)
else if (data.search("Killing")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = '<img style ="width:25%" src="https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png">Killing';  
+
document.getElementById("currentH").innerHTML = '<img style ="width:25%"
 +
                        src="https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png">Killing';  
}
}
Line 54: Line 56:
else if (data.search("Targeting")!== -1)
else if (data.search("Targeting")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = '<img style ="width:25%" src="https://static.igem.org/mediawiki/2014/1/1c/Uppsala2014_Targeting.png">Targeting';
+
document.getElementById("currentH").innerHTML = '<img style ="width:25%"
 +
                        src="https://static.igem.org/mediawiki/2014/1/1c/Uppsala2014_Targeting.png">Targeting';
}
}
                
                
Line 282: Line 285:
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
}
}
 +
else if (target.is('#MarkPic')){
document.getElementById('BackPic').src = "https://static.igem.org/mediawiki/2014/0/04/Uppsala2014_Background_red.png";
document.getElementById('BackPic').src = "https://static.igem.org/mediawiki/2014/0/04/Uppsala2014_Background_red.png";
document.getElementById('PRPic2').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
document.getElementById('PRPic2').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";

Revision as of 14:19, 15 October 2014