Team:Grenoble-EMSE-LSU/Templates/Team
From 2013.igem.org
(Difference between revisions)
(6 intermediate revisions not shown) | |||
Line 16: | Line 16: | ||
- | <div | + | <div id="back_team"> |
<div class="left" id="scroll"> | <div class="left" id="scroll"> | ||
+ | <div id="Team"> | ||
+ | <ul> | ||
+ | <a class="title" href="/Team:Grenoble-EMSE-LSU/Team"><li class="title">The Team</li></a> | ||
- | + | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Team/Students"><li class="sub">Students</li></a> | |
- | + | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Team/Advisors"><li class="sub">Advisors and Instructors</li></a> | |
- | + | <a class="sub" href="/Team:Grenoble-EMSE-LSU/Team/Sponsors"><li class="sub">Sponsors</li></a> | |
- | + | </ul> | |
- | + | </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 45: | 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 22:52, 4 October 2013