Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8207013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:52:01+00:00 2026-06-07T08:52:01+00:00

Please help me, I don’t know how to use jqPagination ( http://beneverard.github.com/jqPagination/ ). I

  • 0

Please help me, I don’t know how to use jqPagination (http://beneverard.github.com/jqPagination/). I would each page which have other content. Ex, page 1, the content is a paragraph, page 2 is other paragraph. And I don’t want click show/hide to show the content.

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T08:52:05+00:00Added an answer on June 7, 2026 at 8:52 am

    Right, I can only assume you have code similar to this:

    <div class="some-container">
        <p>My first paragraph</p>
        <p>My second paragraph</p>
        <p>My third paragraph</p>
    </div>
    
    <div class="pagination">
        <a href="#" class="first" data-action="first">&laquo;</a>
        <a href="#" class="previous" data-action="previous">&lsaquo;</a>               
        <input type="text" readonly="readonly" />
        <a href="#" class="next" data-action="next">&rsaquo;</a>
        <a href="#" class="last" data-action="last">&raquo;</a>
    </div>
    

    And you want to show / hide each of your paragraphs in order using jqPaginaton, try the following code:

    $(document).ready(function() {
    
        // hide all but the first of our paragraphs
        $('.some-container p:not(:first)').hide();
    
        $('.pagination').jqPagination({
            max_page    : $('.some-container p').length,
            paged        : function(page) {
    
                // a new 'page' has been requested
    
                // hide all paragraphs
                $('.some-container p').hide();
    
                // but show the one we want
                $($('.some-container p')[page - 1]).show();
    
            }
        });
    
    });​
    

    Take a look at this working jsFiddle example, it demonstrates the use the plugin to be able to show and hide a range of paragraphs. Of course this example could be extended to work with other elements / scenarios too.

    Be sure to comment back on whether this solved your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't know why but font is not displaying.Please help. CSS(in css folder): style.css: @font-face
guys help me please with it. I don't know how to operate with regex,
Please help, I don't know what I have to do with didReceiveMemoryWarning exactly. My
I don't know C++ very well especially the IO part. Can anyone please help
Could someone please help me spot the leak. I don't really know where my
I don't know of the default server name. Can you please help me because
I got a problem that I don't know how to fix it. Please help!
I'm newbie to silverlight. Please help me find setting page title. See I don't
Please help me understand why this isn't working. I don't know if there is
I don't know quite how to phrase this so please help me with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.