WebApp上滑加载数据...

$(window).bind("scroll", function () {

            if ($(document).scrollTop() + $(window).height() > $(document).height() - 5) {
                //做些什么~~~
            }
        });

记录一下..备忘..

posted @ 2015-07-20 14:13  GuZhenYin  阅读(917)  评论(0编辑  收藏  举报
.........................................作者:顾振印出处:http://www.cnblogs.com/GuZhenYin/本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面