Template:Team:Amsterdam/Sidebar1

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<div id="sidebar-area">
 
-
<!-- Navigation scroll follow -->
 
-
<script type="text/javascript">
 
-
$(window).scroll(function () {
 
-
var winPos = $(window).scrollTop();
 
-
if (winPos > 234) {
 
-
$("#sidebar-area").css({position:'fixed', top: 0});
 
-
} else {
 
-
$("#sidebar-area").css({position:'relative'});
 
-
}
 
-
});
 
-
</script>
 
-
 
<div class="content-block">
<div class="content-block">
<div id="navmenu">
<div id="navmenu">
Line 18: Line 5:
<li><a href='/Team:Amsterdam'>Home</a></li>
<li><a href='/Team:Amsterdam'>Home</a></li>
<li><a href='#'>Team</a>
<li><a href='#'>Team</a>
-
<ul>
+
<ul id="nav-team">
<li><a href='/Team:Amsterdam/team/members/'>Members</a></li>
<li><a href='/Team:Amsterdam/team/members/'>Members</a></li>
<li><a href='/Team:Amsterdam/team/advisors/'>Advisors</a></li>
<li><a href='/Team:Amsterdam/team/advisors/'>Advisors</a></li>

Revision as of 19:23, 25 September 2012