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 580913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:31:25+00:00 2026-05-13T14:31:25+00:00

I am using the Jquery cycle plugin ( http://malsup.com/jquery/cycle/ ) on a blog listing

  • 0

I am using the Jquery cycle plugin (http://malsup.com/jquery/cycle/) on a blog listing page. There are multiple slideshows which work fine but I’d like each on the have their own previous and next.

Because these are blog posts it is difficult to sign unique IDs or classes. I currently have:-

    $('.article .gallery').cycle({
 next: '.viewmore .left',
 prev: '.viewmore .right',
timeout:0
});

I have tried the following but doesn’t work. It gives you a better idea of what I am looking for:-

 $('.article .gallery').cycle({
 next: $(this).next('.viewmore .left'),
 prev: $(this).next('.viewmore .right'),
timeout:0
});

Can anyone help me?
Thanks in advance.

Dave.

  • 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-05-13T14:31:25+00:00Added an answer on May 13, 2026 at 2:31 pm

    Try something like this:

    $('.article .gallery').each(function(){
        var $this = $(this);
        $this.cycle({
            next: $this.next('.viewmore').find('.left'),
            prev: $this.next('.viewmore').find('.right')
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the jQuery Cycle plugin (malsup.com/jquery/cycle/) on this page: http://artandculturecenter.org It works as
Using the jQuery cycle plugin: jquery.cycle.all.min.js - latest version (2.8.8) from http://malsup.com/jquery/cycle/ I'm utilizing
Im trying to make a pager for my image cycling using this plugin: http://jquery.malsup.com/cycle/pager3.html
I'm using the jQuery Cycle plugin. The page in question is here: http://harrisonfjord.com/folio/test.html The
I'm currently using this jQuery Cycle Plugin: http://jquery.malsup.com/cycle/ And I have the following code:
I'm using jQuery Cycle to create several slideshows on the same page. Some of
I am using a jquery cycle plugin and flexdropdown in one page... What happens
I'm using the jquery cycle plugin to create a simple slideshow with thumbnails. http://www.ttmt.org.uk/forum/slideshow/
I am using Jquery Cycle Plugin and it has a side panel that highlights
I am using the jQuery cycle plugin to cycle through some images. These images

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.