Template:Biomod/2013/Aarhus/Nano Creators/Begin

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 151: Line 151:
var y = $(this).scrollTop();
var y = $(this).scrollTop();
-
if (y < top) {
+
if (y > top) {
nav.addClass('fixed');
nav.addClass('fixed');
nav.removeAttr('style');
nav.removeAttr('style');

Revision as of 12:17, 24 October 2013