文件名称:ASP-list

介绍说明--下载内容均来自于网络,请自行研究使用

我们在腾讯网站等一些评论栏目上可以看到这样的应用,列表没有使用分页条,而是一次加载一定数量的记录显示在列表页,当用户浏览到列表页底部时,可以通过单击“加载更多”来查看更多记录。有网友反映数据量大时,加载速度慢,这一版本改变了后台读取方式,加快了输出速度。

原理:页面载入时,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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org