如何用jquery实现页面滚动到指定位置后触发事件的效果?_百度知道
$(window).scroll(function () { if ($(window).scrollTop() == $(document).height() - $(window).height()) { alert('bottom!!'); } });更多关于页面滚动到相应位置 导航栏也触发相应效果的问题>>
如何用jquery实现页面滚动到指定位置后触发事件的效果_百度知道
最佳答案: scrollBottomTest =function(){ $("#contain").scroll(function(){ var $this =$(this), viewH =$(this).height(),//可见高度 contentH =$(...更多关于页面滚动到相应位置 导航栏也触发相应效果的问题>>