Team:WHU-China/templates/standardpage middle
From 2013.igem.org
(Difference between revisions)
IgnatzZeng (Talk | contribs) |
IgnatzZeng (Talk | contribs) |
||
(2 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
<link rel="stylesheet" href="https://2013.igem.org/Team:WHU-China/middleleftcss?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2013.igem.org/Team:WHU-China/middleleftcss?action=raw&ctype=text/css" type="text/css" /> | ||
<link rel="stylesheet" href="https://2013.igem.org/Team:WHU-China/middlerightcss?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2013.igem.org/Team:WHU-China/middlerightcss?action=raw&ctype=text/css" type="text/css" /> | ||
- | |||
- | |||
<link rel="stylesheet" href="https://2013.igem.org/Team:WHU-China/middleleftcss?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2013.igem.org/Team:WHU-China/middleleftcss?action=raw&ctype=text/css" type="text/css" /> | ||
<!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> | <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> | ||
Line 23: | Line 21: | ||
$(window).scroll(function () { | $(window).scroll(function () { | ||
var scrollPos = $(window).scrollTop(); | var scrollPos = $(window).scrollTop(); | ||
- | if (scrollPos > | + | if (scrollPos > 140) { |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
$(".toc").addClass("stickBelowNavigation"); | $(".toc").addClass("stickBelowNavigation"); | ||
} else { | } else { |
Latest revision as of 03:29, 18 September 2013
Contents |