Team:Minnesota/Notebook

From 2012.igem.org

(Difference between revisions)
m
m
Line 32: Line 32:
//main page image switcher
//main page image switcher
 +
var keeper;
$("#mainRightButton1").hover(
$("#mainRightButton1").hover(
     function() {
     function() {
 +
      keeper = $(this).attr("src");
       $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_maroon_txt.png");
       $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_maroon_txt.png");
-
      $("#MainBoxContentImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png");
 
-
      $(".mainContentTextBanner").text("Welcome to the University of Minnesota iGEM team website! Please take some time to explore around by hovering over the icons on the right for quick blurbs or navigate using the buttons to the left. We hope you enjoy learning about us and what we do!");
 
     },           
     },           
-
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_gold_txt.png");}
+
     function() {$(this).attr("src",keeper);}
);
);
-
 
+
$("#mainRightButton1").hover(
 +
    function() {
 +
      $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_maroon_txt.png");
 +
    },         
 +
    function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_gold_txt.png");}
 +
);

Revision as of 06:17, 2 October 2012

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