Patricia S (Talk | contribs) |
Patricia S (Talk | contribs) |
||
Line 108: | Line 108: | ||
jQuery(window).scroll(function() { | jQuery(window).scroll(function() { | ||
if (jQuery(this).scrollTop() > offset) { | if (jQuery(this).scrollTop() > offset) { | ||
− | jQuery(‘. | + | jQuery(‘.top’).fadeIn(duration); |
} else { | } else { | ||
− | jQuery(‘. | + | jQuery(‘.top’).fadeOut(duration); |
} | } | ||
}); | }); |
Revision as of 05:16, 14 October 2018