Not everything that extends $ is money, so it’s rare we cover jQuery plugins. However, Sausage from Christopher Cliff has a unique take on pagination:

screencap

Sausage is meant to be used with infinite (or at least long) scrolling pages and adds pagination markers to the margin. For a real-world example, check out how Sausage enhances the online version of CouchDB The Definitive Guide with just the following code:

$(window)
    .sausage({
        content: function (i, $page) {
            return '<span class="sausage-span">'
                + $page.find('.anchor').first().text()
                + '</span>';
        }
    })
    ;

For more information or examples, check the web site or examples in the project. Be sure and follow @SausageJS for updates.

[Source on GitHub]


Have comments? Send a tweet to @TheChangelog on Twitter.

Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.