http://pushingtheweb.com/2010/09/endless-scroller-jquery-plugin/
In a recent web project, I needed to build an automatic pagination
for end-users, which automatically fetches more content when the user
scrolls the page. Examples of this are the Facebook log and the shoe
browsing on http://www.mirapodo.de/herrenschuhe/
(not affiliated with us). When the user gets to the end of the page, it
fetches more content. This way, you don’t have to load more than
neccesary on the first page load, and the user benefits, since she
doesn’t have to click numbers in a pagination widget. The result is the
jquery.esn.autobrowse.js jQuery plugin which does that for any page.
It loads JSON data from the server, and renders it client-side. One
of the problems with a typical auto-pagination is that when the user
clicks on a link in the content, and then clicks “back” in the browser,
he or she ends up at the top of the page and have to scroll all the way
down again (even Facebook suffers from this problem at the time of
writing this 2010). In this plugin, you can choose to use the browser
local storage to cache the content fetched, and it keeps track on how
far you have scrolled on the page. This means that if the user clicks a
link and then goes back, she will see what she left.
The browser cache is accomplished using the jStorage
plugin (slightly modified for this autobrowse plugin). It presents a
cross-browser interface for saving arbitrary data in the browser
storage. The storage methods are different in different browsers
however, so for instance IE doesn’t have as much storage space as Chrome
or Firefox. The cache does fallback on an ajax request if the storage
failed. The modified version of jStorage notifies the autobrowse plugin
when the storage failed (i.e. when the data didn’t fit into the space
available).
分享到:
相关推荐
jquery-endless-scroll-master插件,用于实现网页的滚动加载效果。
jquery + endless-scroll 模拟实现 滚动加载数据
Endless.js 是简单的 jQuery 插件,允许在任意可滚动的 HTML 元素上假如一个直观的滚动。 Endless.js 支持从上到下,从左到右。所以当你在最底部或者开始的位置,你再滚动一次,就会重新遍历一遍。 在线演示 ...
Endless Scroll 是 jQuery 一个用来实现无限滚动的插件,相信你试过微软新搜索引擎 Bing 的搜索结果,当鼠标向下滚动时,新的内容会一直出现在下方,而不是翻页去浏览。示例代码:// using default options $...
编程开发-综合控件-Jquery Endless Scroll(无限滚动插件).zip
jquery endlessEndless Scroll.rar jquery endlessEndless Scroll.rar
unity3d游戏 插件 跑酷 Ultimate Endless Runner Kit v1.03资源包.zip
语言:English 此扩展程序使您可以启动和停止无休止地向下滚动网站页面。 此扩展程序使您可以启动和停止无休止地向下滚动网站页面。 只需单击扩展图标和“开始”按钮即可开始滚动,单击“停止”按钮即可完成滚动。
Endless 主题 https://wrapbootstrap.com/theme/endless-responsive-admin-template-WB00J6977 预览地址:http://minetheme.com/Endless1.5.1/index.html
Endless Runner Sameple Game.unitypackage Unity 官方的一个跑酷的例子Demo, 商店太卡的可以在这下
Unity插件源码,资源完整,真实可用,Unity插件源码,资源完整,真实可用,Unity插件源码,资源完整,真实可用,Unity插件源码,资源完整,真实可用,Unity插件源码,资源完整,真实可用,Unity插件源码,资源完整,...
今天给大家分享一款页面无缝滚动的jquery.scroll插件。 支持上下左右,淡入淡出,滚动时间设置,动画时间设置,鼠标经过是否停止设置,滚动鼠标液动条看下页面的切换效果。该插件适用浏览器:IE8、360、FireFox、...
游戏源码,代码仅供参考,请勿商业使用,如有侵权,请及时告知,
CWAC-ENDLESS
首次加载中间段数据,然后滚动时,需要加载中间段数据前和后的更多数据, eg: 乐视视频app(android) 播放页下半屏剧集card的滚动获取 usage recyclerView = (RecyclerView) findViewById(R.id.recycler_view); ...
unity无限跑酷源码Endless Runner - Sample Game 1.1 Requires Unity 5.6.1 or higher. This endless runner game example (Trash Dash) is optimised for mobile, it shows the use of ob ject pooling, origin ...
Endless2DJumperToolkit
Endless-RecyclerView >Endless support for RecyclerView Gradle Dependency dependencies { compile 'com.github.ybq:Endless-RecyclerView:1.0.4' } Usage RecyclerView recyclerView = ...; Endless endless ...
Endless Runner - Sample Game.unitypackage
警车抓小偷跑酷WRP Ultimate 3D Endless Runner Kit;