Team:Aalto-Helsinki/footer
From 2014.igem.org
(Difference between revisions)
Vaakapallo (Talk | contribs) |
Vaakapallo (Talk | contribs) |
||
Line 82: | Line 82: | ||
}); | }); | ||
}); | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | $('.extrabar').affix({ | ||
+ | offset: { | ||
+ | top: $('.splash').height() * 1.115 | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | $('.update').waypoint(function(direction) { | ||
+ | var selector = "#" + ($(this)[0].classList[1]) + "-submenu"; | ||
+ | $('.extrabar a.active').removeClass("active"); | ||
+ | $(selector).addClass("active"); | ||
}); | }); | ||
</script> | </script> |
Revision as of 20:07, 23 September 2014