Team:Goettingen/suplement/scripts

From 2013.igem.org

Revision as of 21:38, 3 June 2013 by Demarcia (Talk | contribs)

//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");
 });

function proFlyout(which){

 var x="."+which,y=".f-"+which,z="#id-"+which;
 $(z).mouseenter(function(){$(y).show();$(x).addClass("deact");});
 $(z).mouseleave(function(){$(x).removeClass("deact");$(y).hide();});

};