Template:SUSTC-Shenzhen/themeJs
From 2014.igem.org
(Difference between revisions)
Line 79: | Line 79: | ||
offset: { | offset: { | ||
top: function () { | top: function () { | ||
- | var offsetTop = $sideBar.offset().top | + | var offsetTop = $sideBar.offset().top |
var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10) | var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10) | ||
var navOuterHeight = $('.bs-docs-nav').height() | var navOuterHeight = $('.bs-docs-nav').height() |
Revision as of 09:42, 17 October 2014