|
|
(2 intermediate revisions by one other user not shown) |
Line 759: |
Line 759: |
| | | |
| | | |
− | <div style="position:absolute;left:5px;top:0px;">
| |
− | <a target="NotebookFrame" href="https://static.igem.org/mediawiki/2015/2/26/Notebookgopherigem.jpeg"><img id="mainRightButton1" src="http://i1158.photobucket.com/albums/p607/iGEM_MN/projects_maroon_img.png"></a>
| |
− | </div>
| |
− |
| |
− | <div style="position:absolute;left:5px;top:75px;">
| |
− | <a target="NotebookFrame" href="https://docs.google.com/document/d/1crv_VHuWD9x8jLS__Qi_L50NJ_lfgfZPBV17osQOTRY/pub"><img id="mainRightButton2" src="http://i791.photobucket.com/albums/yy194/GopheriGEM/pes_maroon_img_zps10b17630.png"></a>
| |
− | </div>
| |
− |
| |
− | <div style="position:absolute;left:5px;top:150px;">
| |
− | <a target="NotebookFrame" href="https://docs.google.com/document/d/1y9K0FYLCStAEHInpGu969gvufKh8pZZiciPlk44NNeY/pub"><img id="mainRightButton3" src="http://i791.photobucket.com/albums/yy194/GopheriGEM/insulin_maroon_img_zpsfc8c87cc.png"></a>
| |
− | </div>
| |
− |
| |
− |
| |
− | $(document).ready(function(){
| |
− |
| |
− | // jQuery functions go here...
| |
− |
| |
− | //vertical autocenter
| |
− | $(window).resize(function(){
| |
− | $('#ContentAll').css({
| |
− | position:'absolute',
| |
− | top: ($(window).height() - $('#ContentAll').outerHeight())/2
| |
− | });
| |
− | $('#bgImageDiv').css({
| |
− | position:'absolute',
| |
− | top: -1*($(window).height() - $('#bgImageDiv').height())/2
| |
− | });
| |
− |
| |
− | });
| |
− |
| |
− | $(window).resize();
| |
− | //end vertial autocenter
| |
− |
| |
− | //background image centering
| |
− |
| |
− |
| |
− | var keeper;
| |
− |
| |
− | $("#mainRightButton1").hover(
| |
− | function() {
| |
− | keeper = $(this).attr("src");
| |
− | var keeper2 = keeper.replace("img","txt");
| |
− | $(this).attr("src",keeper2);
| |
− | },
| |
− | function() {$(this).attr("src",keeper);}
| |
− | );
| |
− |
| |
− | $("#mainRightButton2").hover(
| |
− | function() {
| |
− | keeper = $(this).attr("src");
| |
− | 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);
| |
− | },
| |
− | function() {$(this).attr("src",keeper);}
| |
− | );
| |
− |
| |
− | $("#mainRightButton3").hover(
| |
− | function() {
| |
− | keeper = $(this).attr("src");
| |
− | 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);
| |
− | },
| |
− | function() {$(this).attr("src",keeper);}
| |
− | );
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | }); //ends .ready function
| |
| | | |
| | | |
Line 837: |
Line 766: |
| | | |
| <a href="https://2015.igem.org/Team:Minnesota/2A_Tags"> | | <a href="https://2015.igem.org/Team:Minnesota/2A_Tags"> |
− | <img width="125" height="125" style="position:absolute; top:125px;left:205px" id="MainCaffeineButton" src="https://static.igem.org/mediawiki/2015/5/59/MN_2015_2A_logo.png"> | + | <img width="125" height="125" style="position:absolute; top:125px;left:205px" id="MainCaffeineButton" src="https://2015.igem.org/File:MN_2015_projects_logo.png"> |
| </a> | | </a> |
| | | |
Line 843: |
Line 772: |
| | | |
| <a href="https://2015.igem.org/Team:Minnesota/Modeling"> | | <a href="https://2015.igem.org/Team:Minnesota/Modeling"> |
− | <img width="125" height="125" style="position:absolute; top:125px;left:355px; id="MainCaffeineButton2" src="https://static.igem.org/mediawiki/2015/e/e8/MN_2015_matlab_logo.png"> | + | <img width="125" height="125" style="position:absolute; top:125px;left:355px; id="MainCaffeineButton2" src="https://2015.igem.org/File:MN_2015_projects_logo.png"> |
| </a> | | </a> |
| | | |