Team:Minnesota/Notebook
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(28 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 | + | keeper = $(this).attr("src"); |
- | + | var keeper2 = keeper.replace("img","txt"); | |
- | $( | + | $(this).attr("src",keeper2); |
}, | }, | ||
- | function() {$(this).attr("src", | + | 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/ | + | <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 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--> | ||
<div class="rightNavButtons"> | <div class="rightNavButtons"> | ||
+ | |||
<div style="position:absolute;left:5px;top:0px;"> | <div style="position:absolute;left:5px;top:0px;"> | ||
- | <a target="NotebookFrame" href="https://2012.igem.org/Team:Minnesota/Notebook/Home"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/ | + | <a target="NotebookFrame" href="https://2012.igem.org/Team:Minnesota/Notebook/Home"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_maroon_img.png"></a> |
</div> | </div> | ||
<div style="position:absolute;left:5px;top:75px;"> | <div style="position:absolute;left:5px;top:75px;"> | ||
- | <a target="NotebookFrame" href=" | + | <a target="NotebookFrame" href="https://docs.google.com/document/pub?id=1QdKFMB0iGz-9B3PExNQt_TFOVkHKqWWQifH-YuI59rU&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:// | + | <a target="NotebookFrame" href="https://docs.google.com/document/pub?id=1_Smb_U36dxKRkoXggbrjXqtclxAVZ5X53WntIgKvexo&embedded=true"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png"></a> |
</div> | </div> | ||
Line 147: | 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
Like us on FB and follow us on Twitter!