Team:Minnesota/Project

From 2012.igem.org

(Difference between revisions)
m
m
Line 39: Line 39:
);
);
 +
$("#mainRightButton2").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_txt.png");},         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_img.png");}
 +
);
 +
 +
$("#mainRightButton3").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_txt.png");},         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png");}
 +
);
/*fade in/out animations. need both rather than hover since one element will overlap the other.*/
/*fade in/out animations. need both rather than hover since one element will overlap the other.*/

Revision as of 17:09, 1 October 2012

Team:Minnesota - Main Style Template Team:Minnesota - Project