sausage: Contextual pagination for jQuery

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:


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:

        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]

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

0:00 / 0:00