Team:Minnesota/Notebook

From 2012.igem.org

(Difference between revisions)
m
m
 
(25 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;
$("#mainRightButton1").hover(
$("#mainRightButton1").hover(
     function() {
     function() {
-
       $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_maroon_txt.png");
+
       keeper = $(this).attr("src");
-
       $("#MainBoxContentImg").attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/image1_resized.png");
+
       var keeper2 = keeper.replace("img","txt");
-
       $(".mainContentTextBanner").text("Welcome to the University of Minnesota iGEM team website! Please take some time to explore around by hovering over the icons on the right for quick blurbs or navigate using the buttons to the left. We hope you enjoy learning about us and what we do!");
+
       $(this).attr("src",keeper2);
     },           
     },           
-
     function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/welcome_gold_txt.png");}
+
     function() {$(this).attr("src",keeper);}
);
);
 +
$("#mainRightButton2").hover(
 +
    function() {
 +
      keeper = $(this).attr("src");
 +
      var keeper2 = keeper.replace("img","txt");
 +
      $(this).attr("src",keeper2);
 +
    },         
 +
    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 91: 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 122: Line 179:
<div id="MainBoxAll">
<div id="MainBoxAll">
-
<div id="MainBoxContent">
+
<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 135: 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 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 148: 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