Team:Grenoble-EMSE-LSU/Templates/HP
From 2013.igem.org
(Difference between revisions)
(7 intermediate revisions not shown) | |||
Line 16: | Line 16: | ||
- | <div | + | <div id="back_hp"> |
<div class="left" id="scroll"> | <div class="left" id="scroll"> | ||
<div id="HP"> | <div id="HP"> | ||
- | <a class="title" href="/Team:Grenoble-EMSE-LSU/ | + | <ul> |
- | + | <a class="title" href="/Team:Grenoble-EMSE-LSU/Human_Practice"><li class="title">Human Practice</li></a> | |
+ | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/Promotion"><li class="sub">iGEM Promotion</li></a> | ||
<a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/Lyon"><li class="sub">Lyon Jamboree</li></a> | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/Lyon"><li class="sub">Lyon Jamboree</li></a> | ||
<a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/Game"><li class="sub">Play with us !</li></a> | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/Game"><li class="sub">Play with us !</li></a> | ||
- | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/ | + | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Human_Practice/Collaboration"><li class="sub">Collaborations</li></a> |
</ul> | </ul> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- Logos à droite --> | ||
+ | <div id="wrap"> | ||
+ | <div id="scroll_right"> | ||
+ | <ul id="right"> | ||
+ | <li><a href="https://2013.igem.org" title="iGEM Main Page" id="igem_logo" target="_blank"><img src="https://static.igem.org/mediawiki/2013/thumb/5/5d/2013Calgary_iGEM_Logo.png/739px-2013Calgary_iGEM_Logo.png" alt="iGEM logo" width="85px" height="69px"></a><br><br></li> | ||
+ | <li><a href="/Team:Grenoble-EMSE-LSU"><img src="https://static.igem.org/mediawiki/2013/8/8e/Grenoble_logo_mini.png" alt="team logo" height="69px"></a></li> | ||
+ | <li class="contact"><a id="contact" href="mailto:igem.grenoble.fr@gmail.com">Contact us !</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
</div> | </div> | ||
Line 44: | Line 57: | ||
} else { | } else { | ||
$('#scroll').removeClass('fixed'); | $('#scroll').removeClass('fixed'); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | $(document).ready(function () { | ||
+ | var top = $('#scroll_right').offset().top - parseFloat($('#scroll_right').css('marginTop').replace(/auto/, 0)); | ||
+ | $(window).scroll(function (event) { | ||
+ | var y = $(this).scrollTop(); | ||
+ | if (y >= top) { | ||
+ | $('#scroll_right').addClass('fixed'); | ||
+ | } else { | ||
+ | $('#scroll_right').removeClass('fixed'); | ||
} | } | ||
}); | }); |
Latest revision as of 02:35, 5 October 2013