Team:Grenoble/script
From 2011.igem.org
(Difference between revisions)
Maxime.huet (Talk | contribs) |
Maxime.huet (Talk | contribs) |
||
Line 21: | Line 21: | ||
$(".navigation").removeClass("stickToTop"); | $(".navigation").removeClass("stickToTop"); | ||
} | } | ||
- | if (scrollPos > 180) { | + | |
+ | }); | ||
+ | </script> | ||
+ | <!-- | ||
+ | if (scrollPos > 180) { | ||
$(".toc").addClass("stickBelowNavigation"); | $(".toc").addClass("stickBelowNavigation"); | ||
} else { | } else { | ||
$(".toc").removeClass("stickBelowNavigation"); | $(".toc").removeClass("stickBelowNavigation"); | ||
} | } | ||
- | + | --> | |
- | + | ||
<!-- Sexy Drop Down (drop down navigation) --> | <!-- Sexy Drop Down (drop down navigation) --> | ||
<script type="text/javascript"> | <script type="text/javascript"> |
Revision as of 20:20, 24 October 2011