文件名称:ASP-list
- 所属分类:
- Web服务器
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2014-11-24
- 文件大小:
- 41kb
- 下载次数:
- 0次
- 提 供 者:
- ev***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
我们在腾讯网站等一些评论栏目上可以看到这样的应用,列表没有使用分页条,而是一次加载一定数量的记录显示在列表页,当用户浏览到列表页底部时,可以通过单击“加载更多”来查看更多记录。有网友反映数据量大时,加载速度慢,这一版本改变了后台读取方式,加快了输出速度。
原理:页面载入时,jQuery向后台请求数据,ASP程序通过查询数据库将最新的几条记录显示在列表页,在列表页的底部有个“更多”链接,通过触发该链接,向服务端发送Ajax请求,后台ASP程序接收请求参数,并作出相应,获取数据库相应的记录并以JSON的形式返回给前台页面,前台页面jQuery解析JSON数据,并将数据追加到列表页。效果实例:http://www.my478.com/html/shuidao/-We can see some of the comments on the corporate website and other sections such applications, the list does not use paging bar, but once loaded a certain number of records displayed in the list page, when a user browses to the bottom of the list page, you can click " Load More " to view more records. When users reflect the large amount of data, slow loading, this version has changed the way back to read, to speed up the output speed. How it works: When the page is loaded, jQuery request data to the background, ASP program by querying the records show that several of the latest page in the list at the bottom of the page there is a list of the " more" link, by triggering the link to the server sending Ajax requests, backstage ASP program receives the request parameters, and make the appropriate, obtain the corresponding record in the and returns JSON to the front page, front page jQuery parse JSON data, and the data is appended to the list page. Effect instance: http:
原理:页面载入时,jQuery向后台请求数据,ASP程序通过查询数据库将最新的几条记录显示在列表页,在列表页的底部有个“更多”链接,通过触发该链接,向服务端发送Ajax请求,后台ASP程序接收请求参数,并作出相应,获取数据库相应的记录并以JSON的形式返回给前台页面,前台页面jQuery解析JSON数据,并将数据追加到列表页。效果实例:http://www.my478.com/html/shuidao/-We can see some of the comments on the corporate website and other sections such applications, the list does not use paging bar, but once loaded a certain number of records displayed in the list page, when a user browses to the bottom of the list page, you can click " Load More " to view more records. When users reflect the large amount of data, slow loading, this version has changed the way back to read, to speed up the output speed. How it works: When the page is loaded, jQuery request data to the background, ASP program by querying the records show that several of the latest page in the list at the bottom of the page there is a list of the " more" link, by triggering the link to the server sending Ajax requests, backstage ASP program receives the request parameters, and make the appropriate, obtain the corresponding record in the and returns JSON to the front page, front page jQuery parse JSON data, and the data is appended to the list page. Effect instance: http:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
conn.asp
data.asp
index.htm
jquery.min.js
jquery.more.js
loader.gif
more.gif
more.mdb
说明.txt