摘要: 在新浪微博中,当阅读到页面最底端的时候,会自动显示一个“加载中”的功能,并自动从服务器端无刷新的将内容下载到本地浏览器显示。这样的自动加载功能是如何实现的?jQuery的插件ScrollPagination可以帮助实现这个功能。这里是ScrollPagination 功能的原型化代码,1$(function(){2$('#content').scrollPagination({3'contentPage':'democontent.html',//thepagewhereyouaresearchingforresults4'content 阅读全文
posted @ 2011-11-30 09:45 方子尚 阅读(872) 评论(0) 推荐(0) 编辑