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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:36:31+00:00 2026-05-19T00:36:31+00:00

I have a slide show component I’ve been working on that is a mash

  • 0

I have a slide show component I’ve been working on that is a mash up of jcycle and jcarousel. It works rather well, yet there is one last feature I’d to add that I cannot figure out. Right now if you click on a thumbnail it will center it in the carousel as long as it’s not the first 2 or last 2 thumbs. This works great and I like centering the active thumbnail of the slide show.

The problem I’m running into is if the user hits the play button on the slide show or the next and previous slide buttons, the slide show cycles, yet the active slide thumbnail does not center in the carousel. I’ve tried unsuccessfully to check if the thumbnail anchor has class, activeSlide, and if so to center it, yet cant seem to get it to work.

Here is a link to the demo page I’ve been working on.

http://brettjankord.com/standards/slideshows/jslideshow-test2.php

Any help is greatly appreciated!

  • 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-19T00:36:31+00:00Added an answer on May 19, 2026 at 12:36 am

    Put the following at the end of your onBefore method

     var carousel = $('#mycarousel').data('jcarousel');
     var activeIdx = $('#mycarousel img[src="'+next.src+'"]').closest('a').data('index') -2;
     if (carousel)
         {
             carousel.scroll(activeIdx);
         }
    

    Demo at http://jsfiddle.net/JupPn/1/

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

Sidebar

Related Questions

I have a menu div that I want to slide down so it's always
I have the following problem. I want to write my own slide show in
I am having a slide show which marks the slide that is active with
I am trying to create an image slide show that is similar to this
I have a UIPickerView as subview in a UITableViewController, which I want to slide
I have some client side code that uploads an Outlook email to a document
i have a simple example of a JList that is getting it's data from
I have a asp.net ajax slideshow extender that I have hijacked and turned into
I have an application which behaves as a slideshow for all pictures in a
I have a side project I do = in Java. It's a pretty straight-forward

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.