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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:27:57+00:00 2026-06-15T18:27:57+00:00

I have set up jcarousel with external controls. When I ‘mouseover’ a link in

  • 0

I have set up jcarousel with external controls. When I ‘mouseover’ a link in my ‘controls’-list, the carousel scrolls to the according image.

So far everything works fine, but when I ‘mouseover’ the different ‘controls’-links to quickly, it gets stuck at the first link and waits for the scroll-animation to finish.

// SCROLL TO LINK
$('#controls a').on('mouseover',function() {
var opt = $('#controls a').index(this)+1; 
carousel.scroll($.jcarousel.intval(opt)); 
}); 

I’m not sure but I think I have to stop the running scroll animation on ‘mouseover’ to solve this problem.

I tried these lines (which DON’T work):

carousel.stop(true);

and:

carousel.scroll.stop(true);

Can anybody help me with this? There’s probably an easy solution but I’m not experienced with jQuery or programming in general.

  • 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-15T18:27:58+00:00Added an answer on June 15, 2026 at 6:27 pm

    Had the same problem. Found very simple solution.
    Put it in “jquery.jcarousel.js”

    /**
     * Stop animates the carousel, jump To End (animate Slide).
     *
     * @method animate
     * @return undefined
    */
    stopAnimate: function() {
    this.list.stop(true,true,true);
    },
    

    after this

     /**
     * Animates the carousel to a certain position.
     *
     * @method animate
     * @return undefined
     * @param p {Number} Position to scroll to.
     * @param a {Boolean} Flag indicating whether to perform animation.
     */
    animate: function(p, a) {
        -/-/-/-/(several strings)
    },
    

    my //scroll to link// looks like (i have addition autoScrolling)

    $('#controls a').hover(function() {
            var opt = $("#controls a").index(this) + 1;
            carousel.scroll(opt);
            carousel.stopAuto();//autoScroll Stop
        }, function() {
            carousel.stopAnimate(); //! here is located our function
            carousel.startAuto();//autoScroll Start
        });
    

    Maybe someone finds it useful!

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

Sidebar

Related Questions

I have a set of images scrolling continuously with jCarousel. Only one image is
I have set onItemClicklistener on my custom list view but onItemClicklistener not working I
I have a carousel with a set of thumbnails inside. When those thumbnails are
I have a twitter Bootstrap Carousel and I am trying to link to its
I have jcarousel set up to scroll through a bunch of images using the
I have this javascript code: $(function(){ var currentCarouselItem = 1; //set carousel to first
I have 2 variables set like this: var carousel = $('div.carousel ul'); var pics
I have a jquery carousel set to 620px wide. I am using the grid
I have set images in iCarousel . When I scroll the carousel, it shows
I have set the eclipse java formatter to wrap lines that exceed 120 characters

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.