Difference between revisions of "Template:GlasgowNavbar"
Line 163: | Line 163: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
if ($(this).scrollTop() > 50) { | if ($(this).scrollTop() > 50) { | ||
− | $('nav').addClass(" | + | $('nav').addClass("dim5"); |
} | } | ||
else { | else { | ||
− | $('nav').removeClass(" | + | $('nav').removeClass("dim5"); |
} | } | ||
}); | }); |
Revision as of 13:27, 2 September 2015