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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:55:00+00:00 2026-05-23T23:55:00+00:00

I have a carousel that is linked to a list of items, and when

  • 0

I have a carousel that is linked to a list of items, and when you hover over each of those items, it animates a carousel to a distinct position.

The problem is if I rapidly hover over a bunch of those list items, and it will trigger the animate to each of those in the order in which they were hovered. What I want is for it to automatically adjust to whichever is the most recent hover, so that there is not a bunch of unnecessary movement going on.

Here is the jQuery for the hover:

$('#item1 a').hover(function() {
    $('#hero-slider ul').animate({
        right: '0'
    }, 500);
});
$('#item2 a').hover(function() {
    $('#hero-slider ul').animate({
        right: '980'
    }, 500);
});
$('#item3 a').hover(function() {
    $('#hero-slider ul').animate({
        right: '1960'
    }, 500);
});
$('#item4 a').hover(function() {
    $('#hero-slider ul').animate({
        right: '2940'
    }, 500);
});

If I hover over all of those items in rapid succession, it will move to all their positions before stopping.

  • 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-23T23:55:01+00:00Added an answer on May 23, 2026 at 11:55 pm

    try adding .stop() to the function.

     $('#carProd4 a').hover(function() {
         $('#hero-slider ul').stop().animate({
             right: '2940'
         }, 500);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, so I have a carousel that animates left and right. There is the
assume that I have this list: <ul id=carousel> <li><a title=hey><img src=image.png/></a></li> </div> And now
I have a problem with setting a starting position, that depends on the class
Alright. The idea is that I have a jCarousel list that displays 3 items
I have a vertical carousel menu that on two of the items opens to
We have Android 3D Carousel here: http://www.codeproject.com/KB/android/androcarousel.aspx There my problem is that: i want
I have a series of images that get loaded for a carousel, and it
I have the following problem: I am creating a simple plugin jquery carousel, to
I have remove some item from the list of the BxSlider carousel. But when
I have a carousel with a set of thumbnails inside. When those thumbnails are

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.