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

  • Home
  • SEARCH
  • 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 8391773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:21:01+00:00 2026-06-09T19:21:01+00:00

Basically, i have a gallery which already limits the number of items to 30,

  • 0

Basically, i have a gallery which already limits the number of items to 30, but rather than limiting, i would like to have a “next and Prev” button on either side to basically add or swap lists onced pressed.

I’m thinking pretty simple, just an arrow button, once it’s pressed it simply slides and fades out the first page and slides in and fades in the second and so on.

If possible, is it able loop? as in if it’s reached the end and they click next, it just adds in more up to the limit of 30?

If it helps, Here’s my current site: http://www.shannonhochkins.com

  • 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-09T19:21:03+00:00Added an answer on June 9, 2026 at 7:21 pm

    You need to show gallery’s example for swapping next object but i can help with pagination problem easly: I have asked the similar question this week; How to create simple next and prev trigger button for slider's pagination buttons?

    Here is working jsFiddle. and here is Aaron Romine’s answer:

    $(".next").click(function(){
        if($("li.active").next().length > 0){
            $("li.active").removeClass("active").next("li").addClass("active");
        }
    });
    $(".prev").click(function(){
        if($("li.active").prev().length > 0){
            $("li.active").removeClass("active").prev("li").addClass("active");
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this loop which basically displays a block on the page with an
basically have two questions. 1. Is there a c++ library that would do full
I have a Gallery, which has an adapter connects to it. In the getView
Having some issues, basically I have a random image gallery. This is the code
I have a site which will have a gallery with 3 sections. Each section
Can anyone help me achieve this: So basically, I have a gallery system, let's
Basically what I have is an image gallery. Just tried to create one for
I basically have a program that filters records from one excel file to another
I basically have three tables, posts, images and postimages (this simply contains the ids
I basically have a unix process running and it is doing some heavy processing

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.