Team:DTU-Denmark/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 44: | Line 44: | ||
$(".toc").offset({top: $(".whitebox.article").offset().top + 35}); | $(".toc").offset({top: $(".whitebox.article").offset().top + 35}); | ||
} else if(toc_end_reached_bottom_of_article){ | } else if(toc_end_reached_bottom_of_article){ | ||
- | $(".toc").offset({top: $(".whitebox.article").offset().top + $(".whitebox.article").height() - $(".toc").height() - | + | $(".toc").offset({top: $(".whitebox.article").offset().top + $(".whitebox.article").height() - $(".toc").height() - 35}); |
} else { | } else { | ||
$(".toc").offset({top: scrollPos + toc_margin_from_top}); | $(".toc").offset({top: scrollPos + toc_margin_from_top}); |
Revision as of 14:45, 22 July 2013