Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
<!-- jQuery scroll follow (scroll navigation) --> | <!-- jQuery scroll follow (scroll navigation) --> | ||
<!--<script type="text/javascript" src="https://2011.igem.org/Team:DTU-Denmark/jquery.scrollfollow.js?action=raw&ctype=text/javascript"></script>--> | <!--<script type="text/javascript" src="https://2011.igem.org/Team:DTU-Denmark/jquery.scrollfollow.js?action=raw&ctype=text/javascript"></script>--> | ||
+ | <script type="text/javascript"> | ||
+ | $(window).scroll(function () { | ||
+ | var scrollPos = $(window).scrollTop(); | ||
+ | if (scrollPos > 20) { | ||
+ | $(#navigation).css("display","none"); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
<!-- MathJax (LaTeX kode for the web) --> | <!-- MathJax (LaTeX kode for the web) --> |
Revision as of 21:31, 6 September 2011
{{{1}}}