Team:Grenoble-EMSE-LSU/Templates/Home
From 2013.igem.org
(Difference between revisions)
(27 intermediate revisions not shown) | |||
Line 18: | Line 18: | ||
<!-- Menu --> | <!-- Menu --> | ||
- | <div | + | <div id="back_home"> |
- | <div class="left"> | + | <div class="left" id="scroll"> |
<div id="Home"> | <div id="Home"> | ||
+ | <ul> | ||
+ | <a class="title" href="/Team:Grenoble-EMSE-LSU"><li class="title">Home</li></a> | ||
+ | </ul> | ||
- | + | <a class="subsub" href="/Team:Grenoble-EMSE-LSU/Team/Sponsors">See our sponsors.</a><br> | |
- | + | ||
- | <a class="subsub" href="/Team:Grenoble-EMSE-LSU/Team/Sponsors">See our sponsors.</a>< | + | |
</div> | </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" title="Team Logo"><img src="https://static.igem.org/mediawiki/2013/8/8e/Grenoble_logo_mini.png" height="69px" alt="team logo"></a></li> | ||
+ | <li class="contact"><a id="contact" href="mailto:igem.grenoble.fr@gmail.com">Contact us !</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- Script --> | ||
+ | |||
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | $(document).ready(function () { | ||
+ | var top = $('#scroll').offset().top - parseFloat($('#scroll').css('marginTop').replace(/auto/, 0)); | ||
+ | $(window).scroll(function (event) { | ||
+ | var y = $(this).scrollTop(); | ||
+ | if (y >= top) { | ||
+ | $('#scroll').addClass('fixed'); | ||
+ | } else { | ||
+ | $('#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'); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
</html> | </html> |
Latest revision as of 18:57, 29 September 2013