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