|
|
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>
| |
− |
| |
− | <head>
| |
− | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
| |
− | <title>Team:Minnesota - Notebook</title>
| |
− |
| |
− | <script type="text/javascript" src="jquery.js"></script>
| |
− | <script type="text/javascript">
| |
− |
| |
− | $(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
| |
| | | |
| | | |