Paul Irish

Making the www great

Infinite Scroll: 1.2 Release and Grid-a-licious Support

New release

The 1.2 release of both the infinite scroll wordpress plugin and jQuery plugin is now out! For the wordpress plugin, it was mostly minor bugfixes and leveraging jQuery if it was already present on the page.

There are a few new features in the 1.2 release of the jQuery plugin I’ll detail:

  • The bufferPx option. Allows you to increase the chance that the next page of data will be retrieved and loaded before the user gets to the end of the page.
  • The errorCallback function. A function called when a requested page 404’s or when there is no more content.
  • localMode boolean option! If set to true, you can enable infinite scroll within a div with a scrollable overflow. Easier to see than read, so here’s a demo. This feature was requested by Jörn Zaefferer, and since so much of my jQuery development was enabled by his stellar work; it had to be done.

Of course, it’s tested on all the major and latest browsers. Please comment here or on the site if you find a bug.

Version 1.2.090804. Documentation
jquery.infinitescroll.js (9.1k)
jquery.infinitescroll.min.js (3.6k)

Grid-a-licious support

This eye-catching wordpress theme has gained quite a following, with the highest profile ones all leveraging infinite scroll. This is all quite flattering, as this theme is probably the hardest wordpress theme to integrate with infinite scroll. :)

I’ve written up a very comprehensive walk-through on how to get them friendly: Guide to adding Infinite Scroll to the Grid-a-licious theme

If you have any problems, leave a comment on that discussion board thread.