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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:09:06+00:00 2026-06-17T14:09:06+00:00

I am working with Twitter Bootstrap Carousel and though I am not very familiar

  • 0

I am working with Twitter Bootstrap Carousel and though I am not very familiar with .js, somehow I got things working fine.

The only problem is that the next/prev button is working in a strange way.

Here’s my temp site:
http://tokyo-flaneur.com/dl/donner/contents/menu.html

Although I have 10 images, I can not get to the No.10 by clicking the next button. After the third image, when I click on the next button, the image goes back to No.2.

Also, whichever image I am looking, when I click the prev button, it goes all the way back to No.1.

Could anyone help me or direct me to the right direction? Any help would be 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-06-17T14:09:07+00:00Added an answer on June 17, 2026 at 2:09 pm

    You handle slider’s next/prev buttons with your own handler, so it slide to 2nd element 1st, than tries to make next()

    replace:

    $("#myCarousel a").click(function(e){ 
        var index = $(this).index(); 
        //when hitting NEXT button index always 2, for PREV - 0
        slider.carousel(index); 
        e.preventDefault(); 
    }); 
    

    with

    $("#myCarousel .slider-pager a").click(function(e){ 
        var index = $(this).index(); 
        slider.carousel(index); 
        e.preventDefault(); 
    }); 
    

    in your onpage script

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

Sidebar

Related Questions

I'm trying to implement the twitter bootstrap carousel, and it's not working - it
I'm having a problem with the .carousel(number) method on Twitter Bootstrap Carousel plugin. Somehow
I seem to have the Twitter Bootstrap carousel working properly as far as moving
I am working on an interface with twitter-bootstrap that has a sidebar for navigation,
I'm trying to use Twitter Bootstrap in Django. I've got it working for the
I have the Twitter Bootstrap carousel working quite well for the most part but
I'm trying to find a working example of the twitter bootstrap typeahead element that
i'm currently working with Twitter Bootstrap and have a problem concerning the size of
I have used twitter-bootstrap gem to make a store application. It was working fine
I'm trying to use Twitter Bootstrap's pill navigation, but it's not working properly. I

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.