Team:Minnesota/Notebook

From 2012.igem.org

(Difference between revisions)
m
m
Line 46: Line 46:
     function() {
     function() {
       keeper = $(this).attr("src");
       keeper = $(this).attr("src");
-
       $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_maroon_txt.png");
+
      var keeper2 = keeper.replace("img","txt");
 +
       $(this).attr("src",keeper2);
     },           
     },           
     function() {$(this).attr("src",keeper);}
     function() {$(this).attr("src",keeper);}
);
);
-
 
+
$("#mainRightButton3").hover(
 +
    function() {
 +
      keeper = $(this).attr("src");
 +
      var keeper2 = keeper.replace("img","txt");
 +
      $(this).attr("src",keeper2);
 +
    },         
 +
    function() {$(this).attr("src",keeper);}
 +
);

Revision as of 06:23, 2 October 2012

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