Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
 
(170 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
 +
<div id="tab_selector">
<div id="tab_selector">
-
 
+
<ul id="tabSection">
-
                  <ul id="tabSection">
+
</ul>
-
 
+
</div>   
-
                  </ul>
+
<div id="section_selector">
-
 
+
-
            </div>   
+
-
 
+
-
          <div id="section_selector">
+
-
 
+
-
 
+
-
 
+
</div>
</div>
Line 17: Line 11:
var data = window.location.href;
var data = window.location.href;
var List = document.getElementById("tabSection");
var List = document.getElementById("tabSection");
 +
 +
if (data.search("AdhesionGroup") !== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "Adhesion Group";
 +
}     
-
if (data.search("Adhesion") !== -1)
+
else if (data.search("Adhesion") !== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Adhesion";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Adhesion1", "#", "tab1", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
                        while (myNode.firstChild) {
-
createA("Adhesion2", "#", "tab2", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
                        myNode.removeChild(myNode.firstChild);
-
createA("Adhesion3", "#", "tab3", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
                        }
-
createA("Adhesion4", "#", "tab4", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
-
changeContent("tab1");
+
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Adhesion.png"> Adhesion';
-
changeContent("tab2");
+
}   
-
changeContent("tab3");
+
                     
-
changeContent("tab4");
+
                        else if (data.search("KillingGroup")!== -1)
 +
                        {
 +
document.getElementById("currentH").innerHTML = "Killing Group";
}
}
 +
else if (data.search("Killing")!== -1)
else if (data.search("Killing")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Killing";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Killing1", "#", "tab1", "https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png" );
+
                        while (myNode.firstChild) {
-
createA("Killing2", "#", "tab2", "https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png" );
+
                        myNode.removeChild(myNode.firstChild);
-
changeContent("tab1");
+
                        }
-
changeContent("tab2");
+
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
 +
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png"> Killing';  
}
}
 +
 +
                        else if (data.search("SensingGroup")!== -1)
 +
                        {
 +
document.getElementById("currentH").innerHTML = "Sensing Group";
 +
}
 +
else if (data.search("Sensing")!== -1)
else if (data.search("Sensing")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Sensing";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Sensing1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Sensing2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
-
changeContent("tab1");
+
                        }
-
changeContent("tab2");
+
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
 +
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/a/a2/Sensing.png"> Sensing';
}
}
 +
 +
                        else if (data.search("TargetingGroup")!== -1)
 +
                        {
 +
document.getElementById("currentH").innerHTML = 'Targeting Group';
 +
}         
 +
 +
                        else if (data.search("ModelingGroup")!== -1)
 +
                        {
 +
document.getElementById("currentH").innerHTML = "Modeling Group"; 
 +
}
 +
             
else if (data.search("Targeting")!== -1)
else if (data.search("Targeting")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Targeting";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Targeting2", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Targeting2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
-
changeContent("tab1");
+
                        }
-
changeContent("tab2");
+
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
 +
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/1/1c/Uppsala2014_Targeting.png"> Targeting';
}
}
-
                        else if (data.search("Simulation") !== -1)
+
             
 +
else if (data.search("Safety")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Simulation";
+
                        var myNode = document.getElementById("imgwrapNH");
-
                        createA("Simulation1", "#","tab1","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
                        while (myNode.firstChild) {
-
createA("Simulation2", "#","tab2","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
+
                        myNode.removeChild(myNode.firstChild);
 +
                        }
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/6/6f/Uppsala_iGEM2014_Team_headerSafety.png)');
 +
document.getElementById("currentH").innerHTML = "Safety";
 +
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Gene_design_red.png", "GdesignPic");
 +
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/2/2a/Uppsala2014_Lab_safety_black.png", "LsafetyPic");
 +
                        createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/6/6d/Uppsala2014_Product_safety_black.png", "PsafetyPic");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
 +
changeContent("tab3");
}
}
-
                         else if (data.search("Matlab") !== -1)
+
 
 +
                         else if (data.search("CellCell") !== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Matlab";
+
                        var myNode = document.getElementById("imgwrapNH");
-
                         createA("Matlab1", "#","tab1","https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Matlab2", "#","tab2","https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
 +
                        }
 +
document.getElementById("currentH").innerHTML = "Cell-Cell Interaction";
 +
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/3/3e/Uppsala_iGEM2014_Team_Mod.png)');
 +
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Description_red.png", "DescPic");
 +
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Demo_black.png", "DemoPic");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
}
}
-
else if (data.search("Parts")!== -1)
+
 
 +
                        else if (data.search("Population") !== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Parts";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Colicin", "#");
+
                        while (myNode.firstChild) {
-
createA("YenR", "#");
+
                        myNode.removeChild(myNode.firstChild);
-
createA("USP45", "#");
+
                        }
 +
document.getElementById("currentH").innerHTML = "Population Level";
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/3/3e/Uppsala_iGEM2014_Team_Mod.png)');
 +
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Description_red.png", "PopDescPic");
 +
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/2/2e/Uppsala2014_Design_black.png", "DesignPic");
 +
createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/2/25/Uppsala2014_Tests_black.png", "TestPic");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
changeContent("tab3");
changeContent("tab3");
}
}
-
else if (data.search("Overview")!== -1)
+
 
 +
else if (data.search("Parts")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Overview";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Overview1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Overview2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
-
createA("Overview3", "#", "tab3", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        }
-
changeContent("tab1");
+
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/9/9f/Uppsala_iGEM2014_Team_headerParts.png)');
-
changeContent("tab2");
+
document.getElementById("currentH").innerHTML = "Parts";
-
changeContent("tab3");
+
 
}
}
 +
else if (data.search("Outreach")!== -1)
else if (data.search("Outreach")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Overview";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Outreach1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Outreach2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
-
createA("Outreach3", "#", "tab3", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        }
-
changeContent("tab1");
+
document.getElementById("currentH").innerHTML = "Outreach";
-
changeContent("tab2");
+
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
-
changeContent("tab3");
+
}
}
-
else if (data.search("Continuity")!== -1)
+
 
 +
else if (data.search("Business")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Continuity";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Continuity1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Continuity2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
-
changeContent("tab1");
+
                        }
-
changeContent("tab2");
+
document.getElementById("currentH").innerHTML = "Business Plan";
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
}
}
-
else if (data.search("Protocols")!== -1) <!--- from notebook --->
+
 
 +
else if (data.search("Microbial")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Protocols";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Protocols1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        while (myNode.firstChild) {
-
createA("Protocols2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        myNode.removeChild(myNode.firstChild);
-
createA("Protocols3", "#", "tab3", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
                        }
 +
document.getElementById("currentH").innerHTML = "Microbial Designs";
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
 +
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/9/95/Uppsala2014_Overview_red.png", "OverPic");
 +
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png", "PRPic");
 +
createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png", "CTPic");
 +
createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png", "MarkPic");
 +
createA("", "#", "tab5", "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png", "BudPic");
 +
createA("", "#", "tab6", "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png", "FinPic");
 +
createA("", "#", "tab7", "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png", "RefPic");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
changeContent("tab3");
changeContent("tab3");
 +
changeContent("tab4");
 +
changeContent("tab5");
 +
changeContent("tab6");
 +
changeContent("tab7");
}
}
-
else if (data.search("Safety")!== -1)
+
 
 +
else if (data.search("Notebook")!== -1)  
{
{
-
document.getElementById("currentH").innerHTML = "Safety";
+
                        var myNode = document.getElementById("imgwrapNH");
-
createA("Safety", "#");
+
                        while (myNode.firstChild) {
-
createA("More safety", "#");
+
                        myNode.removeChild(myNode.firstChild);
-
createA("Max safety", "#");
+
                        }
 +
document.getElementById("currentH").innerHTML = "Notebook";
 +
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png", "ProtPic");
 +
                        createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png", "WorkPic");
changeContent("tab1");
changeContent("tab1");
-
changeContent("tab2");
+
changeContent("tab4");
-
changeContent("tab3");
+
}
}
-
else if (data.search("Attributions")!== -1)
+
 
 +
else if (data.search("Attributions")!== -1)  
{
{
 +
var myNode = document.getElementById("imgwrapNH");
 +
while (myNode.firstChild) {
 +
    myNode.removeChild(myNode.firstChild);
 +
}
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/4/49/Uppsala_iGEM2014_Team_headerAtt.png)');
document.getElementById("currentH").innerHTML = "Attributions";
document.getElementById("currentH").innerHTML = "Attributions";
-
createA("Attributions 1", "#");
+
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/d/d5/Uppsala2014_Collaborations_red.png", "CollPic");
-
createA("Attributions 2", "#");
+
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/f/f7/Uppsala2014_Acknowledgements_black.png", "AckPic");
-
createA("Attributions 2", "#");
+
                        createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/5/51/Uppsala2014_Sponsors_black.png", "SponsPic");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
changeContent("tab3");
changeContent("tab3");
}
}
-
else if (data.search("Team") !== -1)
+
 
 +
else if (data.search("InterlabStudy")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Team";
+
var myNode = document.getElementById("imgwrapNH");
-
createA("Team1", "#");
+
while (myNode.firstChild) {
-
createA("Team2", "#");
+
    myNode.removeChild(myNode.firstChild);
-
createA("Team3", "#");
+
}
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/d/d2/Uppsala_iGEM2014_Team_headerILS.png)');
 +
document.getElementById("currentH").innerHTML = "Interlab Study";
 +
                        createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/2/23/Uppsala2014_Thestudy_red.png", "studyPic");
 +
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png", "discPic");
 +
createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/d/dd/Uppsala2014_RawdataForm_black.png", "formPic");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
changeContent("tab3");
changeContent("tab3");
}
}
 +
 +
else if (data.search("Team") !== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "Team";     
 +
}
 +
else
else
{
{
alert("Sorry something failed");
alert("Sorry something failed");
}
}
-
+
-
+
function createA(text, link, title, image, identity) {
-
function createA(text, link, title, image) {
+
var node = document.createElement("li");
var node = document.createElement("li");
var a = document.createElement('a');
var a = document.createElement('a');
                         var button = document.createElement("img");
                         var button = document.createElement("img");
                         button.src = image;
                         button.src = image;
-
                         button.setAttribute("height", "157");
+
                         button.setAttribute("height", "70");
-
                         button.setAttribute("width", "157");
+
                         button.setAttribute("width", "158");
 +
                        button.setAttribute("id", identity);
var linkText = document.createTextNode(text);
var linkText = document.createTextNode(text);
a.appendChild(button);
a.appendChild(button);
Line 168: Line 248:
node.appendChild(a);
node.appendChild(a);
document.getElementById("tabSection").appendChild(node);
document.getElementById("tabSection").appendChild(node);
-
 
}
}
Line 178: Line 257:
document.getElementById("section_selector").appendChild(node);
document.getElementById("section_selector").appendChild(node);
}
}
 +
$(document).ready(function() {
$(document).ready(function() {
     $("#section_selector div").hide(); // Initially hide all content
     $("#section_selector div").hide(); // Initially hide all content
Line 184: Line 264:
      
      
     $('#tabSection a').click(function(e) {
     $('#tabSection a').click(function(e) {
-
         e.preventDefault();      
+
 
 +
         e.preventDefault();    
         $("#section_selector div").hide(); //Hide all content
         $("#section_selector div").hide(); //Hide all content
         $("#tabSection li").attr("id",""); //Reset id's
         $("#tabSection li").attr("id",""); //Reset id's
         $(this).parent().attr("id","current"); // Activate this
         $(this).parent().attr("id","current"); // Activate this
         $('#' + $(this).attr('title')).fadeIn(); // Show content for current tab
         $('#' + $(this).attr('title')).fadeIn(); // Show content for current tab
-
    });
 
-
})();
 
-
</script>
+
var target = $(e.target);
 +
if (target.is('#ProtPic')){
 +
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png";
 +
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png";
 +
}
 +
else if (target.is('#WorkPic')){
 +
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/4/4f/Uppsala2014_Protocol_black.png";
 +
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/6/6f/Uppsala2014_Work_database_red.png";
 +
}
 +
else if (target.is('#DescPic')){
 +
document.getElementById('DescPic').src = "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Description_red.png";
 +
document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Demo_black.png";
 +
}
 +
else if (target.is('#DemoPic')){
 +
document.getElementById('DescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png";
 +
document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/7/79/Uppsala2014_Demo_red.png";
 +
}
 +
else if (target.is('#PopDescPic')){
 +
document.getElementById('PopDescPic').src = "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Description_red.png";
 +
document.getElementById('DesignPic').src = "https://static.igem.org/mediawiki/2014/2/2e/Uppsala2014_Design_black.png";
 +
document.getElementById('TestPic').src = "https://static.igem.org/mediawiki/2014/2/25/Uppsala2014_Tests_black.png";
 +
}
 +
else if (target.is('#DesignPic')){
 +
document.getElementById('PopDescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png";
 +
document.getElementById('DesignPic').src = "https://static.igem.org/mediawiki/2014/e/ec/Uppsala2014_Design_red.png";
 +
document.getElementById('TestPic').src = "https://static.igem.org/mediawiki/2014/2/25/Uppsala2014_Tests_black.png";
 +
}
 +
else if (target.is('#TestPic')){
 +
document.getElementById('PopDescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png";
 +
document.getElementById('DesignPic').src = "https://static.igem.org/mediawiki/2014/2/2e/Uppsala2014_Design_black.png";
 +
document.getElementById('TestPic').src = "https://static.igem.org/mediawiki/2014/9/92/Uppsala2014_Tests_red.png";
 +
}
 +
else if (target.is('#studyPic')){
 +
document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/2/23/Uppsala2014_Thestudy_red.png";
 +
document.getElementById('discPic').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png";
 +
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/d/dd/Uppsala2014_RawdataForm_black.png";
 +
}
 +
else if (target.is('#discPic')){
 +
document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png";
 +
document.getElementById('discPic').src = "https://static.igem.org/mediawiki/2014/9/94/Uppsala2014_Discussion_red.png";
 +
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/d/dd/Uppsala2014_RawdataForm_black.png";
 +
}
 +
else if (target.is('#formPic')){
 +
document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png";
 +
document.getElementById('discPic').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png";
 +
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png";
 +
}
 +
else if (target.is('#OverPic')){
 +
document.getElementById('OverPic').src = "https://static.igem.org/mediawiki/2014/9/95/Uppsala2014_Overview_red.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png";
 +
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
 +
}
 +
else if (target.is('#PRPic')){
 +
document.getElementById('OverPic').src = "https://static.igem.org/mediawiki/2014/3/3a/Uppsala2014_Overview_black.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/c/cb/Uppsala2014_Property_Rights_red.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png";
 +
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
 +
}
 +
else if (target.is('#CTPic')){
 +
document.getElementById('OverPic').src = "https://static.igem.org/mediawiki/2014/3/3a/Uppsala2014_Overview_black.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/f/fb/Uppsala2014_Clinical_Trials_red.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_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('OverPic').src = "https://static.igem.org/mediawiki/2014/3/3a/Uppsala2014_Overview_black.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/d/dd/Uppsala2014_Marketing_red.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png";
 +
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
 +
}
 +
else if (target.is('#BudPic')){
 +
document.getElementById('OverPic').src = "https://static.igem.org/mediawiki/2014/3/3a/Uppsala2014_Overview_black.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/a/a4/Uppsala2014_Budget_red.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png";
 +
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
 +
}
 +
else if (target.is('#FinPic')){
 +
document.getElementById('OverPic').src = "https://static.igem.org/mediawiki/2014/3/3a/Uppsala2014_Overview_black.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/1/17/Uppsala2014_Financing_red.png";
 +
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png";
 +
}
 +
else if (target.is('#RefPic')){
 +
document.getElementById('OverPic').src = "https://static.igem.org/mediawiki/2014/3/3a/Uppsala2014_Overview_black.png";
 +
document.getElementById('PRPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Property_Rights_black.png";
 +
document.getElementById('CTPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png";
 +
document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png";
 +
document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png";
 +
document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png";
 +
document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/c/cb/Uppsala2014_Reflections_red.png";
 +
}
 +
else if (target.is('#CollPic')){
 +
document.getElementById('CollPic').src = "https://static.igem.org/mediawiki/2014/d/d5/Uppsala2014_Collaborations_red.png";
 +
document.getElementById('AckPic').src = "https://static.igem.org/mediawiki/2014/f/f7/Uppsala2014_Acknowledgements_black.png";
 +
document.getElementById('SponsPic').src = "https://static.igem.org/mediawiki/2014/5/51/Uppsala2014_Sponsors_black.png";
 +
}
 +
else if (target.is('#AckPic')){
 +
document.getElementById('CollPic').src = "https://static.igem.org/mediawiki/2014/8/84/Uppsala2014_Collaborations_black.png";
 +
document.getElementById('AckPic').src = "https://static.igem.org/mediawiki/2014/f/f2/Uppsala2014_Acknowledgements_red.png";
 +
document.getElementById('SponsPic').src = "https://static.igem.org/mediawiki/2014/5/51/Uppsala2014_Sponsors_black.png";
 +
}
 +
else if (target.is('#SponsPic')){
 +
document.getElementById('CollPic').src = "https://static.igem.org/mediawiki/2014/8/84/Uppsala2014_Collaborations_black.png";
 +
document.getElementById('AckPic').src = "https://static.igem.org/mediawiki/2014/f/f7/Uppsala2014_Acknowledgements_black.png";
 +
document.getElementById('SponsPic').src = "https://static.igem.org/mediawiki/2014/f/fb/Uppsala2014_Sponsors_red.png";
 +
}
 +
else if (target.is('#GdesignPic')){
 +
document.getElementById('GdesignPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Gene_design_red.png";
 +
document.getElementById('LsafetyPic').src = "https://static.igem.org/mediawiki/2014/2/2a/Uppsala2014_Lab_safety_black.png";
 +
document.getElementById('PsafetyPic').src = "https://static.igem.org/mediawiki/2014/6/6d/Uppsala2014_Product_safety_black.png";
 +
}
 +
else if (target.is('#LsafetyPic')){
 +
document.getElementById('GdesignPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Gene_design_black.png";
 +
document.getElementById('LsafetyPic').src = "https://static.igem.org/mediawiki/2014/e/ea/Uppsala2014_Lab_safety_red.png";
 +
document.getElementById('PsafetyPic').src = "https://static.igem.org/mediawiki/2014/6/6d/Uppsala2014_Product_safety_black.png";
 +
}
 +
else if (target.is('#PsafetyPic')){
 +
document.getElementById('GdesignPic').src = "https://static.igem.org/mediawiki/2014/e/ee/Uppsala2014_Gene_design_black.png";
 +
document.getElementById('LsafetyPic').src = "https://static.igem.org/mediawiki/2014/2/2a/Uppsala2014_Lab_safety_black.png";
 +
document.getElementById('PsafetyPic').src = "https://static.igem.org/mediawiki/2014/a/a7/Uppsala2014_Product_safety_red.png";
 +
}
 +
});
 +
});
 +
 +
</script>
</html>
</html>

Latest revision as of 14:33, 17 October 2014