Team:Minnesota/Notebook

From 2012.igem.org

(Difference between revisions)
m
m
 
(15 intermediate revisions not shown)
Line 31: Line 31:
//background image centering
//background image centering
-
//main page image switcher
+
//main page image switcher - VERSION 2! Really cool haha...
var keeper;
var keeper;
Line 37: Line 37:
     function() {
     function() {
       keeper = $(this).attr("src");
       keeper = $(this).attr("src");
-
       var keeper2 = keeper;
+
       var keeper2 = keeper.replace("img","txt");
-
      keeper2.replace("img","txt");
+
-
      alert(keeper2);
+
       $(this).attr("src",keeper2);
       $(this).attr("src",keeper2);
     },           
     },           
Line 48: 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);}
 +
);
 +
//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"));
 +
    }
 +
);
Line 101: Line 147:
<li><a href='https://2012.igem.org/Team:Minnesota/Team'>TEAM</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Team'>TEAM</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Project'>PROJECT</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Project'>PROJECT</a></li>
 +
<li><a href='https://2012.igem.org/Team:Minnesota/Software'>SOFTWARE</a></li>
<li><a class="current" href='https://2012.igem.org/Team:Minnesota/Notebook'>NOTEBOOK</a></li>
<li><a class="current" href='https://2012.igem.org/Team:Minnesota/Notebook'>NOTEBOOK</a></li>
-
<li><a href='https://2012.igem.org/Team:Minnesota/References'>REFERENCES</a></li>
+
<li><a href='https://2012.igem.org/Team:Minnesota/Attributions'>ATTRIBUTIONS</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Outreach'>OUTREACH</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Outreach'>OUTREACH</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Safety'>SAFETY</a></li>
<li><a href='https://2012.igem.org/Team:Minnesota/Safety'>SAFETY</a></li>
Line 133: Line 180:
<div id="MainBoxContent" style="background-color:white">
<div id="MainBoxContent" style="background-color:white">
-
<iframe style="width:600px;height:450px" name="NotebookFrame" src="https://2012.igem.org/Team:Minnesota/Notebook/Home"></iframe>
+
<iframe style="width:650px;height:450px" name="NotebookFrame" seamless="seamless" src="https://2012.igem.org/Team:Minnesota/Notebook/Home"></iframe>
</div> <!--end mainboxcontent-->
</div> <!--end mainboxcontent-->
Line 145: Line 192:
<div style="position:absolute;left:5px;top:75px;">
<div style="position:absolute;left:5px;top:75px;">
-
<a target="NotebookFrame" href="https://docs.google.com/document/pub?id=1_Smb_U36dxKRkoXggbrjXqtclxAVZ5X53WntIgKvexo&amp;embedded=true"><img id="mainRightButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_img.png"></a>
+
<a target="NotebookFrame" href="https://docs.google.com/document/pub?id=1QdKFMB0iGz-9B3PExNQt_TFOVkHKqWWQifH-YuI59rU&amp;embedded=true"><img id="mainRightButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_img.png"></a>
</div>
</div>
<div style="position:absolute;left:5px;top:150px;">
<div style="position:absolute;left:5px;top:150px;">
-
<a target="NotebookFrame" href="https://docs.google.com/document/pub?id=1QdKFMB0iGz-9B3PExNQt_TFOVkHKqWWQifH-YuI59rU&amp;embedded=true"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png"></a>
+
<a target="NotebookFrame" href="https://docs.google.com/document/pub?id=1_Smb_U36dxKRkoXggbrjXqtclxAVZ5X53WntIgKvexo&amp;embedded=true"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png"></a>
</div>
</div>
Line 158: Line 205:
<div id="MainBoxOtherLinks">
<div id="MainBoxOtherLinks">
<p class="otherLinks">
<p class="otherLinks">
-
<a href="https://2012.igem.org/Main_Page">iGEM Home</a> | <a href="https://igem.org/Team.cgi?id=814">Team Minnesota Info</a> |  
+
<a href="https://2012.igem.org/Main_Page">iGEM Home</a> | <a href="https://2012.igem.org/Team:Minnesota/Judges" style="color:red;">iGEM Judge-Click Here!</a> | <a href="https://igem.org/Team.cgi?id=814">Team Minnesota Info</a> |  
<a href="http://www1.umn.edu/twincities/index.html">University of Minnesota Home</a> |  <a href="https://2012.igem.org/Team:Minnesota/Contact">Contact Us!</a>
<a href="http://www1.umn.edu/twincities/index.html">University of Minnesota Home</a> |  <a href="https://2012.igem.org/Team:Minnesota/Contact">Contact Us!</a>
</p>
</p>

Latest revision as of 02:32, 4 October 2012

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