Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ellipse set to visible when too few items for paging #35

Open
Maruz opened this issue Nov 5, 2012 · 0 comments
Open

ellipse set to visible when too few items for paging #35

Maruz opened this issue Nov 5, 2012 · 0 comments

Comments

@Maruz
Copy link

Maruz commented Nov 5, 2012

I'm working with a site where the amount of items to page may be less than the amount the script is set to show per page. It hides all the paging controls except for ellipses.

Ideal should be that this case is handeled by the plugin.

$(document).ready(function() {
    $('.NewsSearchResult').pajinate({
        items_per_page: 2,
        nav_label_prev: '< Previous Page',
        nav_label_next: 'Next Page >',
        show_first_last: false,
        num_page_links_to_display: 5
    });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant