Line 7: | Line 7: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
+ | |||
+ | |||
if($(window).scrollTop() + $(window).height() == $(document).height()) { | if($(window).scrollTop() + $(window).height() == $(document).height()) { | ||
− | $("#nugget").fadeOut(slow); | + | $("#nugget").fadeOut("slow"); |
− | $(".testtext").fadeIn(slow); | + | $(".testtext").fadeIn("slow"); |
} | } | ||
− | |||
}); | }); | ||
Revision as of 20:48, 8 August 2016