必应图片搜索页面 - 无限滚动 [英] Bing image search paging - infinite scroll

查看:177
本文介绍了必应图片搜索页面 - 无限滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您搜索的Bing搜索引擎的图像,结果显示如下:

When you search for images on the Bing search engine, the result is displayed like this:

<一个href="http://www.bing.com/images/search?q=stack+overflow">http://www.bing.com/images/search?q=stack+overflow

请注意,你如何保持滚动,滚动并没有正常的分页。

Notice how you can keep scrolling and scrolling and there is not "normal" paging.

我的问题是:他们是如何做到这一点?我可以看到有一些Ajax / JavaScript的事件发生,但code是不容易阅读。我特别想知道他们是如何知道什么时候空箱里面的用户查看端口。

My question is: How do they do this? I can see there is some ajax/javascript events happening, but the code is not easy to read. I especially would like to know how they know when an "empty box" is inside the users view port.

推荐答案

下面是关于该技术的文章:

Here's an article about that technology :

<一个href="http://www.jaisenmathai.com/blog/2008/02/18/eliminate-paging-results-by-using-javascript-ala-dzone/"相对=nofollow>通过使用JavaScript消除寻呼结果(ALA DZone):使用JavaScript,原型和PHP

Eliminate paging results by using JavaScript (ala DZone) : Using Javascript, prototype and PHP.

这篇关于必应图片搜索页面 - 无限滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆