Home > front-end development > Infinite Scroll: 1.2 Release and Grid-a-licious support

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

August 4th, 2009

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.

Paul Irish front-end development

  1. Einar Lielmanis
    August 4th, 2009 at 23:30 #1

    Not caring enough for wordpress themes and not wanting to make another account for a place I'll probably never visit again, I'll just selfishly leave a comment here. There seems to be minor bug with the scroller and gridalicious, which I an currently see only on mixtapes site. On my 1920×1200 monitor layout after page load all the initial boxes are visible without scrollbar, and it looks like that's the reason that infinite scroller is never triggered. Maybe that's just mixtapes site problem, though. Resizing the window allows the scroller to kick in.

  2. Einar Lielmanis
    August 4th, 2009 at 23:32 #2

    (Not caring ENOUGH? Not caring AT ALL. A native english speaker, I am not.)

  3. August 5th, 2009 at 07:23 #3

    @Einar Lielmanis, gotcha. Yeah I can imagine some problems on a huge display when everything is visible to start. Thanks for the report.

  4. August 5th, 2009 at 10:20 #4

    You should put this blog-style changelog into the readme.txt changelog so it shows up on WordPress Extend's site. For example, take a look at my plugin: http://wordpress.org/extend/plugins/oembed-provider/changelog/

    The change is very easy… it's just another section in readme.txt: http://wordpress.org/extend/plugins/about/readme.txt

  1. No trackbacks yet.

For code blocks, use <pre lang="javascript">. css and html4strict are also accepted.

i left this space here for you to play. <3