Team:Minnesota/Notebook
From 2013.igem.org
(Difference between revisions)
(6 intermediate revisions not shown) | |||
Line 31: | Line 31: | ||
//background image centering | //background image centering | ||
- | + | ||
var keeper; | var keeper; | ||
$("#mainRightButton1").hover( | $("#mainRightButton1").hover( | ||
function() { | function() { | ||
- | $(this).attr("src"," | + | keeper = $(this).attr("src"); |
- | function() {$(this).attr("src", | + | var keeper2 = keeper.replace("img","txt"); |
+ | $(this).attr("src",keeper2); | ||
+ | }, | ||
+ | function() {$(this).attr("src",keeper);} | ||
); | ); | ||
$("#mainRightButton2").hover( | $("#mainRightButton2").hover( | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
function() { | function() { | ||
keeper = $(this).attr("src"); | keeper = $(this).attr("src"); | ||
- | var keeper2 = keeper.replace(" | + | var keeper2 = keeper.replace("http://i791.photobucket.com/albums/yy194/GopheriGEM/pes_maroon_img_zps10b17630.png","http://i791.photobucket.com/albums/yy194/GopheriGEM/pes_gold_txt_zps96347d4e.png"); |
$(this).attr("src",keeper2); | $(this).attr("src",keeper2); | ||
}, | }, | ||
function() {$(this).attr("src",keeper);} | function() {$(this).attr("src",keeper);} | ||
- | |||
- | |||
- | |||
- | |||
); | ); | ||
Line 85: | Line 55: | ||
function() { | function() { | ||
keeper = $(this).attr("src"); | keeper = $(this).attr("src"); | ||
- | var keeper2 = keeper.replace(" | + | var keeper2 = keeper.replace("http://i791.photobucket.com/albums/yy194/GopheriGEM/insulin_maroon_img_zpsfc8c87cc.png","http://i791.photobucket.com/albums/yy194/GopheriGEM/insulin_gold_txt_zps6a94b6c8.png"); |
$(this).attr("src",keeper2); | $(this).attr("src",keeper2); | ||
}, | }, | ||
Line 91: | Line 61: | ||
); | ); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
//social media button switchers | //social media button switchers | ||
- | |||
- | |||
- | |||
- | |||
$("#twitterButton").hover( | $("#twitterButton").hover( | ||
Line 187: | Line 115: | ||
<div class="sideSocialMediaButtons"> | <div class="sideSocialMediaButtons"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | <div style="position:absolute; left: | + | <div style="position:absolute; left:36px; top:6px;"> |
<a href="https://twitter.com/GopheriGEM"> | <a href="https://twitter.com/GopheriGEM"> | ||
<img id="twitterButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter_1.png"> | <img id="twitterButton" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/twitter_1.png"> | ||
Line 201: | Line 124: | ||
<!--temp area for guide to social media--> | <!--temp area for guide to social media--> | ||
- | <div style="position:absolute; top: | + | <div style="position:absolute; top:440px; left:20px;font-family:Verdana;font-size:15;"> |
- | + | Follow us on Twitter! | |
</div> | </div> | ||
Line 208: | Line 131: | ||
<div id="MainBoxAll"> | <div id="MainBoxAll"> | ||
- | |||
- | |||
<div id="MainBoxContent" style="background-color:white"> | <div id="MainBoxContent" style="background-color:white"> |
Latest revision as of 23:49, 27 September 2013
Welcome to our Notebook page! Please use the buttons on the right to see in detail the exciting work our team has been doing this summer!