Team:Goettingen/suplement/scripts
From 2013.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
//for home | //for home | ||
- | |||
$("#our-project").hide(); | $("#our-project").hide(); | ||
Line 22: | Line 21: | ||
$("#background").hide(); | $("#background").hide(); | ||
}); | }); | ||
- | + | ||
//for team | //for team |
Revision as of 01:26, 1 June 2013
//universal
$(".f-larger").click(function(){ $("p").css("font-size","14pt"); }); $(".f-smaller").click(function(){ $("p").css("font-size","12pt"); }); $(".f-medium").click(function(){
$("p").css("font-size","13pt");
});
//for home
$("#our-project").hide(); $(".bkg").click(function(){
$("#background").show(); $("#our-project").hide();
}); $(".opr").click(function(){
$("#our-project").show(); $("#background").hide();
});
//for team
$("#supervisors").hide(); $("#students").hide(); $(".OurTeam").click(function(){
$("#OurTeam").show(); $("#supervisors").hide(); $("#students").hide();
}); $(".supervisors").click(function(){
$("#OurTeam").hide(); $("#supervisors").show(); $("#students").hide();
}); $(".students").click(function(){
$("#OurTeam").hide(); $("#supervisors").hide(); $("#students").show();
});