Template:Templates/head
From 2014.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | <!-- found it --> | ||
<!-- Bootstrap --> | <!-- Bootstrap --> | ||
<!-- Latest compiled and minified CSS --> | <!-- Latest compiled and minified CSS --> | ||
Line 27: | Line 28: | ||
stickyNav(); | stickyNav(); | ||
}); | }); | ||
- | + | ||
- | + | function stickyNav() { | |
- | + | ||
if ($(window).scrollTop() >= navOffset) { | if ($(window).scrollTop() >= navOffset) { | ||
$('nav').css({ | $('nav').css({ | ||
Line 50: | Line 50: | ||
} | } | ||
+ | }); | ||
+ | |||
+ | |||
</script> | </script> | ||
Latest revision as of 05:36, 6 August 2015