|
|
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"));
| |
- | }
| |
- | );
| |
| | | |
| | | |