Team:Minnesota/Notebook

From 2012.igem.org

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

Revision as of 06:20, 2 October 2012

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