Team:WHU-China/templates/standardpage middle
From 2013.igem.org
(Difference between revisions)
IgnatzZeng (Talk | contribs) |
IgnatzZeng (Talk | contribs) |
||
(8 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 { | ||
Line 35: | Line 28: | ||
}); | }); | ||
</script> | </script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<table id="toc" class="toc"><tr><td><div id="toctitle"><h2>Contents</h2></div> | <table id="toc" class="toc"><tr><td><div id="toctitle"><h2>Contents</h2></div> | ||
<ul> | <ul> | ||
- | <li class="toclevel-1 tocsection-1"><a href="# | + | <li class="toclevel-1 tocsection-1"><a href="#anchor1"><span class="tocnumber">1</span> <span class="toctext">anchor1</span></a></li> |
- | <li class="toclevel-1 tocsection-2"><a href="# | + | <li class="toclevel-1 tocsection-2"><a href="#anchor2"><span class="tocnumber">2</span> <span class="toctext">anchor2</span></a></li> |
- | <li class="toclevel-1 tocsection-3"><a href="# | + | <li class="toclevel-1 tocsection-3"><a href="#anchor3"><span class="tocnumber">3</span> <span class="toctext">anchor3</span></a></li> |
- | <li class="toclevel-1 tocsection-4"><a href="# | + | <li class="toclevel-1 tocsection-4"><a href="#anchor4"><span class="tocnumber">4</span> <span class="toctext">anchor4</span></a></li> |
</ul> | </ul> | ||
</td></tr></table><script>if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script> | </td></tr></table><script>if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | <div id="linkmiddle"> | ||
</html> | </html> |
Latest revision as of 03:29, 18 September 2013
Contents |