Template:Sifuentes03
From 2014.igem.org
(Difference between revisions)
Line 334: | Line 334: | ||
$el = $('.leftColumn'); | $el = $('.leftColumn'); | ||
if ($(this).scrollTop() > 300 && $el.css('position') != 'fixed'){ | if ($(this).scrollTop() > 300 && $el.css('position') != 'fixed'){ | ||
- | $('.leftColumn').css({'position': 'fixed', 'top': ' | + | $('.leftColumn').css({'position': 'fixed', 'top': '200px'}); |
} | } | ||
if ($(this).scrollTop() < 300 && $el.css('position') == 'fixed') | if ($(this).scrollTop() < 300 && $el.css('position') == 'fixed') |
Revision as of 18:36, 9 January 2015