Team:SDU-Denmark/core/header
From 2013.igem.org
(Difference between revisions)
Heidi.Wille (Talk | contribs) |
Heidi.Wille (Talk | contribs) |
||
Line 16: | Line 16: | ||
if (totalPageHeight -110 > viewportHeight) { | if (totalPageHeight -110 > viewportHeight) { | ||
$('.top').addClass('stick'); | $('.top').addClass('stick'); | ||
- | } | + | } |
} else { | } else { | ||
$('.top').removeClass('stick'); | $('.top').removeClass('stick'); | ||
} | } | ||
} | } | ||
- | + | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('.left-menu').children().first().children().last().css('color', ''); | $('.left-menu').children().first().children().last().css('color', ''); |
Revision as of 16:12, 10 August 2013