JavaScript
Article
By Sam Deering

Easy jQuery Pagination with jQuery Sausage

By Sam Deering

jquery-pagination

Hi guys, I stumbled upon a pretty easy to use jQuery pagination plugin called jQuery Sausage (i’m sure there is a good joke in there somewhere!). It basically puts a page pagination on the right hand side of the page like a pdf viewer but using jQuery then when you scroll the page it changes on the right. The sausage items on the right also act as a navigation and link to thier sections.

Demo 1
Download

Core Usage

jQuery(document).ready(function($) {
    $(window)
        .sausage() ;
});

Basic Usage

jQuery(document).ready(function($) {
    $(window)
        .sausage({
            content: function (i, $page) {
                return ''
                    + $page.find('.anchor').first().text()
                    + '';
            }
        })  ;
});
Recommended
Sponsors
Get the latest in JavaScript, once a week, for free.