Team:Minnesota/Notebook

From 2013.igem.org

(Difference between revisions)
Line 61: Line 61:
);
);
-
//click tracker for which notebook it's on
 
-
$("#mainRightButton1").click(
 
-
    function(){
 
-
        var original = $(this).attr("src");
 
-
        var new1 = original.replace("gold","maroon");
 
-
        $(this).attr("src",new1);
 
-
        keeper = new1.replace("txt","img");
 
-
        original = $("#mainRightButton2").attr("src");
 
-
        $("#mainRightButton2").attr("src",original.replace("maroon","gold"));
 
-
        original = $("#mainRightButton3").attr("src");
 
-
        $("#mainRightButton3").attr("src",original.replace("maroon","gold"));
 
-
    }
 
-
);
 
-
$("#mainRightButton2").click(
 
-
    function(){
 
-
        var original = $(this).attr("src");
 
-
        var new1 = original.replace("gold","maroon");
 
-
        $(this).attr("src",new1);
 
-
        keeper = new1.replace("txt","img");
 
-
        original = $("#mainRightButton1").attr("src");
 
-
        $("#mainRightButton1").attr("src",original.replace("maroon","gold"));
 
-
        original = $("#mainRightButton3").attr("src");
 
-
        $("#mainRightButton3").attr("src",original.replace("maroon","gold"));
 
-
    }
 
-
);
 
-
 
-
$("#mainRightButton3").click(
 
-
    function(){
 
-
        var original = $(this).attr("src");
 
-
        var new1 = original.replace("gold","maroon");
 
-
        $(this).attr("src",new1);
 
-
        keeper = new1.replace("txt","img");
 
-
        original = $("#mainRightButton1").attr("src");
 
-
        $("#mainRightButton1").attr("src",original.replace("maroon","gold"));
 
-
        original = $("#mainRightButton2").attr("src");
 
-
        $("#mainRightButton2").attr("src",original.replace("maroon","gold"));
 
-
    }
 
-
);
 

Revision as of 01:30, 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!