Team:Minnesota/Notebook

From 2013.igem.org

(Difference between revisions)
Line 33: Line 33:
//main page image switcher - VERSION 2! Really cool haha...
//main page image switcher - VERSION 2! Really cool haha...
var keeper;
var keeper;
 +
 +
$("#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.*/
 +
$("#MainCaffeineButton").mouseover(
 +
    function() {$("#MainCaffeineButton2").fadeIn("fast");}
 +
);
 +
$("#MainCaffeineButton2").mouseleave(
 +
    function() {$("#MainCaffeineButton2").fadeOut("fast");}
 +
);
 +
 +
$("#MainSunscreenButton").mouseover(
 +
    function() {$("#MainSunscreenButton2").fadeIn("fast");}
 +
);
 +
$("#MainSunscreenButton2").mouseleave(
 +
    function() {$("#MainSunscreenButton2").fadeOut("fast");}
 +
);
$("#mainRightButton1").hover(
$("#mainRightButton1").hover(

Revision as of 00:49, 11 September 2013

Team:Minnesota - Main Style Template Team:Minnesota - Notebook

Like us on FB and follow us on Twitter!

Welcome to our Notebook page! Please use the buttons on the right to see in detail the exciting work our team has been doing this summer!