Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 433: Line 433:
     var french= $("#flags img")[1];
     var french= $("#flags img")[1];
     if(french) french.onclick=function() {$("#languages").children("div").css("display", "none"); $("#french").css("display", "block")};
     if(french) french.onclick=function() {$("#languages").children("div").css("display", "none"); $("#french").css("display", "block")};
 +
 +
var german= $("#flags img")[1];
 +
    if(german) german.onclick=function() {$("#languages").children("div").css("display", "none"); $("#german").css("display", "block")};
     var chinese = $("#flags img")[2];
     var chinese = $("#flags img")[2];

Revision as of 14:59, 4 October 2013