Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 441: Line 441:
   var bulgarian = $("#flags img")[5];
   var bulgarian = $("#flags img")[5];
     if(bulgarian ) bulgarian .onclick=function() {$("#languages").children("div").css("display", "none"); $("#bulgarian ").css("display", "block")};
     if(bulgarian ) bulgarian .onclick=function() {$("#languages").children("div").css("display", "none"); $("#bulgarian ").css("display", "block")};
 +
 +
    var greek = $("#flags img")[6];
 +
    if(greek ) greek.onclick=function() {$("#languages").children("div").css("display", "none");
 +
$("#greek ").css("display", "block")};
 +
});
});

Revision as of 12:29, 4 October 2013