I'm trying to re-create something similar to the effect here. When you scroll down to the bottom of the page, an "Also Check Out" div slides from the right. I am assuming this works by using the jQuery function scroll
and then checks if a certain div is in view or not. I, however, cannot even get the scroll
function to work. I tried both using $("#div_name").scroll(function(){});
and $("#div_name").on("scroll", function(){});
, but neither seem to be working. It appears that neither one of my ways of going about it are hooking the scroll functions properly. Here is my fiddle
Anyone have any ideas what I'm doing wrong in my fiddle?