Team:Minnesota/Project
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(23 intermediate revisions not shown) | |||
Line 35: | Line 35: | ||
$("#mainRightButton1").hover( | $("#mainRightButton1").hover( | ||
function() { | function() { | ||
- | $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/ | + | $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_maroon_txt.png");}, |
- | + | function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_maroon_img.png");} | |
- | + | ||
- | + | ||
- | function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/ | + | |
); | ); | ||
+ | $("#mainRightButton2").hover( | ||
+ | function() { | ||
+ | $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_txt.png");}, | ||
+ | function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_img.png");} | ||
+ | ); | ||
+ | $("#mainRightButton3").hover( | ||
+ | function() { | ||
+ | $(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_txt.png");}, | ||
+ | function() {$(this).attr("src","http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png");} | ||
+ | ); | ||
- | + | /*fade in/out animations. need both rather than hover since one element will overlap the other.*/ | |
- | + | $("#MainCaffeineButton").mouseover( | |
- | + | function() {$("#MainCaffeineButton2").fadeIn("slow");} | |
- | $("# | + | ); |
- | function() {$("#MainCaffeineButton2"). | + | $("#MainCaffeineButton2").mouseleave( |
function() {$("#MainCaffeineButton2").fadeOut("slow");} | function() {$("#MainCaffeineButton2").fadeOut("slow");} | ||
); | ); | ||
- | $("# | + | $("#MainSunscreenButton").mouseover( |
- | function() {$("#MainSunscreenButton2").fadeIn("slow");} | + | function() {$("#MainSunscreenButton2").fadeIn("slow");} |
+ | ); | ||
+ | $("#MainSunscreenButton2").mouseleave( | ||
function() {$("#MainSunscreenButton2").fadeOut("slow");} | function() {$("#MainSunscreenButton2").fadeOut("slow");} | ||
); | ); | ||
+ | |||
+ | |||
Line 103: | Line 114: | ||
<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 class="current" href='https://2012.igem.org/Team:Minnesota/Project'>PROJECT</a></li> | <li><a class="current" 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 href='https://2012.igem.org/Team:Minnesota/Notebook'>NOTEBOOK</a></li> | <li><a href='https://2012.igem.org/Team:Minnesota/Notebook'>NOTEBOOK</a></li> | ||
<li><a href='https://2012.igem.org/Team:Minnesota/Attributions'>ATTRIBUTIONS</a></li> | <li><a href='https://2012.igem.org/Team:Minnesota/Attributions'>ATTRIBUTIONS</a></li> | ||
Line 136: | Line 148: | ||
<div id="MainBoxContent" style="background-color:white;"> | <div id="MainBoxContent" style="background-color:white;"> | ||
+ | <a href="https://2012.igem.org/Team:Minnesota/Project/Caffeine_Yeast"> | ||
<img style="position:absolute; top:25px;left:0px" id="MainCaffeineButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeine_BW.png"> | <img style="position:absolute; top:25px;left:0px" id="MainCaffeineButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeine_BW.png"> | ||
+ | </a> | ||
- | <img style="position:absolute; top:25px;left:0px; | + | <a href="https://2012.igem.org/Team:Minnesota/Project/Caffeine_Yeast"> |
+ | <img style="position:absolute; top:25px;left:0px; display:none; z-index:2;" id="MainCaffeineButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeine_colored_titled.png"> | ||
+ | </a> | ||
+ | <a href="https://2012.igem.org/Team:Minnesota/Project/UV_Absorption"> | ||
<img style="position:absolute; top:25px;left:325px" id="MainSunscreenButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/sunscreen_BW.png"> | <img style="position:absolute; top:25px;left:325px" id="MainSunscreenButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/sunscreen_BW.png"> | ||
+ | </a> | ||
- | <img style="position:absolute; top:25px;left:325px; | + | <a href="https://2012.igem.org/Team:Minnesota/Project/UV_Absorption"> |
+ | <img style="position:absolute; top:25px;left:325px; display:none;z-index:2;" id="MainSunscreenButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/sunscreen_colored_titled.png"> | ||
+ | </a> | ||
</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 href="#"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/ | + | <a href="#"><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 href="https://2012.igem.org/Team:Minnesota/Project"><img id="mainRightButton2" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/ | + | <a href="https://2012.igem.org/Team:Minnesota/Project/Caffeine_Yeast"><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://2012.igem.org/Team:Minnesota/ | + | <a href="https://2012.igem.org/Team:Minnesota/Project/UV_Absorption"><img id="mainRightButton3" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png"></a> |
</div> | </div> | ||
</div><!--end rightNavButtons--> | </div><!--end rightNavButtons--> | ||
+ | |||
+ | |||
+ | |||
+ | |||
<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> | ||
</div> <!--end mainboxotherlinks--> | </div> <!--end mainboxotherlinks--> | ||
+ | |||
Line 193: | Line 219: | ||
} | } | ||
preload( | preload( | ||
- | "http://i1158.photobucket.com/albums/p607/iGEM_MN/ | + | "http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_maroon_img.png", |
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_maroon_txt.png", | ||
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_img.png", | ||
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/caffeinatedbread_gold_txt.png", | ||
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_maroon_img.png", | ||
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_maroon_txt.png", | ||
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_img.png", | ||
+ | "http://i1158.photobucket.com/albums/p607/iGEM_MN/bacterialsunscreen_gold_txt.png", | ||
+ | |||
) | ) |
Latest revision as of 02:29, 4 October 2012
Like us on FB and follow us on Twitter!