Template:Templates/head
From 2014.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
stickyNav(); | stickyNav(); | ||
}); | }); | ||
- | + | ||
- | + | function stickyNav() { | |
- | + | ||
if ($(window).scrollTop() >= navOffset) { | if ($(window).scrollTop() >= navOffset) { | ||
$('nav').css({ | $('nav').css({ | ||
Line 50: | Line 49: | ||
} | } | ||
+ | }); | ||
+ | |||
+ | |||
</script> | </script> | ||
Revision as of 18:58, 17 October 2014