Filed under: Developer, Web services
Endless pages: Ditching the "Next" button
"Pagination," i.e. turning a long set of, say, search results into a series of pages with "Next" and "Previous" buttons, is no fun. It can be a pain to implement, and is very much a pain to use, and yet it exists on every site that pulls a lot of records from a database. Surely we can't load all of the records at once if there are thousands of them, so is there an alternative? Yes! And I have a feeling some of you have already guessed the magic word--Ajax. Web developer Peter Forde has written an article explaining the "endless pageless" technique, which uses Ajax to automatically and seamlessly load more results from the server as you scroll toward the bottom, which guarantees that you'll never have to click on another "Next" link as long as you live.You can take a look at the technique in action on this page. This technique isn't brand new, of course--Microsoft, for example, has employed it for a long time on Live.com Image Search--but it's still fairly rare. There's also one caveat that Peter Forde doesn't mention: With his implementation, it's not possible to bookmark or link to a particular point of the results. He cleverly uses cookies to avoid breaking the browser's Back button, but without a permalink the technique still isn't ready for all situations. However, as the technical limitations are overcome, I think we'll be seeing fewer and fewer Next buttons around the web.
So, just how good at time waster games are you? Think you've got the stuff? Well, The World's Hardest Game 2.0 doesn't think you do.
Yes, amazingly, it's possible to have a sequel to a game called "The World's Hardest Game". It doesn't seem logically possible, since if the first one was actually the world's hardest, how could another one come along and share the moniker? It made me doubt the name in the first place. That is, until I tried the game.
The mechanics of the game are very simple. You are a small red square, ...

Reader Comments (Page 1 of 1)
Alex M said 1:24PM on 11-02-2006
Have you ever tried browsing through old DLS rss feeds in Google Reader?
If I remember correctly it fetches in increments of 20. It DOES work quite nicely, and I can't wait till the normal Google search does the same.
Reply
Monoto said 1:27PM on 11-02-2006
And Google already has this concept working in Google Reader. As I scroll through my feeds, it loads 20 posts at a time until I get close to the bottom when it starts loading the next 20.
Reply
mark said 1:55PM on 11-02-2006
i was just going to comment on my google reader and it's awesomeness. i see two people beat me to it allready.
Reply
D said 3:50PM on 11-02-2006
Ok, but what about the times that I know my result is on page 15, for example my site for a specific search? Very common in SEO and most SEO programs are built around the idea of multiple pages. Also, I dont expect sites that want content indexed by google to use this feature as I'm sure it'll be an obstacle for spiders. I see the appeal of it, but I doubt it'll take off anytime soon.
Reply
aperson said 4:32PM on 11-02-2006
Also, don't forget Google's searchmash does endless scrolling.
Reply
Andrei Mouravski said 11:49PM on 11-02-2006
I personally hate this implementation. The page example, at least, reminds me too much of those pages with static frames on the sides, which just disorient me. With this implementation, I don't have the tactile response of turning or reading a page, and so am further annoyed. It just seems unnatural to have all the text at once like that with no landmarks to guide your way.
Perhaps, instead, they made an ajax script that would dynamically create "pages" which you could then turn, or, like in a pdf/word processor, moves onto the next page when you go low enough.
The way it seems to me is like a really long hallway whose walls are always the same and with no end in sight. If you were to add doors to this straight hallway and you knew there were 5 doors total, then it would feel a lot more natural. At least, I think so.
Reply
BC said 4:46PM on 11-02-2006
Google was testing this for awhile. When using Google search on my laptop the next page would automatically appear when I reached the bottom of the page. I'm using Maxthon w/IE7.
It stopped behaving that way a couple of weeks ago. I liked the way that endless scrolling worked, but I really missed being able to jump to certain pages in the search results. Combining the methods would seem to be the best way to implement this feature.
Reply
whatevs said 6:17PM on 11-02-2006
anything that departs that much from a user's expectations is doomed to failure unless it is implemented in a way that seems natural -- endless scrolling is not it, imho.
Reply
Sunny Rodriguez said 8:14PM on 11-02-2006
This new button-free style has also been on the search engine Snap.com
Reply