Team:Minnesota/Team Students

From 2012.igem.org

(Difference between revisions)
m
m
Line 67: Line 67:
//Team page specific
//Team page specific
-
function psiAnimationOn(obj, name, description, imgstr){
+
function psiAnimationOn(obj, name, description, imgstr){ //function for profile selector image switching on hover
       obj.css("opacity","0.4");
       obj.css("opacity","0.4");
       obj.css("filter","alpha(opacity=40)");
       obj.css("filter","alpha(opacity=40)");
Line 79: Line 79:
        
        
}
}
-
function psiAnimationOff(obj){
+
function psiAnimationOff(obj){//function for profile selector image switching on mouse-off
       obj.css("opacity","1");
       obj.css("opacity","1");
       obj.css("filter","alpha(opacity=100)");
       obj.css("filter","alpha(opacity=100)");
Line 88: Line 88:
       $("#pstDescription").css("font-size",18);
       $("#pstDescription").css("font-size",18);
       $("#pstDescription").text("Please mouse over each icon to learn about our team members!");
       $("#pstDescription").text("Please mouse over each icon to learn about our team members!");
-
 
-
 
}
}
Line 98: Line 96:
       var desStr = "George is double majoring in Genetics, Cell Biology and Development and Computer Science. He plans to attend graduate school, and hopefully direct a lab in the future. His interests include ballroom dance, food, programming, video games, rollerblading, and biking. If he needs a caffeine boost George will drink an iced mocha with no whipped cream or an energy drink (NOS and Rockstar Black Citrus being his personal favorites). To protect himself from the sun he stays indoors (he’s a researcher, what do you expect?). His movie character alter ego: Harold Crick from Stranger than Fiction.";
       var desStr = "George is double majoring in Genetics, Cell Biology and Development and Computer Science. He plans to attend graduate school, and hopefully direct a lab in the future. His interests include ballroom dance, food, programming, video games, rollerblading, and biking. If he needs a caffeine boost George will drink an iced mocha with no whipped cream or an energy drink (NOS and Rockstar Black Citrus being his personal favorites). To protect himself from the sun he stays indoors (he’s a researcher, what do you expect?). His movie character alter ego: Harold Crick from Stranger than Fiction.";
       var imgStr = "http://i1158.photobucket.com/albums/p607/iGEM_MN/George_resized.png";
       var imgStr = "http://i1158.photobucket.com/albums/p607/iGEM_MN/George_resized.png";
-
       psiAnimationOn($("#PSI1"),thisNameStr, desStr, imgStr);
+
       psiAnimationOn(this,thisNameStr, desStr, imgStr);
     },           
     },           
-
    function() {
+
       psiAnimationOff(this);
-
       psiAnimationOff($("#PSI1"));
+
      
-
     }
+
);
);

Revision as of 22:38, 14 September 2012

Team:Minnesota - Main Style Template Team:Minnesota

Like us on FB and follow us on Twitter!

Please mouse over each icon to learn about our team members!