Home > Backend Development > PHP Tutorial > 仿qq分页的代码,该怎么处理

仿qq分页的代码,该怎么处理

WBOY
Release: 2016-06-13 10:35:53
Original
901 people have browsed it

仿qq分页的代码
就是一个页面显示全部的 像QQ一样
无限向下的

------解决方案--------------------
用JS判断屏幕是否到底,到底就加载下一页。
http://hi.baidu.com/%CB%AF%C3%CE%D6%AE%C1%FA/blog/item/828267126cbf4fd5c3fd7896.html

------解决方案--------------------
一次取二十条记录,JS可以判断页面是否到底,到底调用函数,同时显示加载中,把回调内容append到后面就行了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template