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

  • Home
  • SEARCH
  • 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 4564168
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:27:46+00:00 2026-05-21T18:27:46+00:00

I am having an issue that is stumping me. I have a relatively simple

  • 0

I am having an issue that is stumping me. I have a relatively simple slider with three divs. When I click through to the second div the first time, the third div overlaps the first (even though the inspected CSS shows that it shouldn’t be there). This happens in every browser I’ve tested on from Safari 5.1, Chrome 10.x and FireFox 4.0.1. Subsequent animations seem to work fine, browsing back and forth. Why would it work incorrectly on first load? My code seems to be correct. Is it a bug?

There is a lot of animations happening on this page at once. After browsing back and forth through the “tabs”, the animation (roundabout plugin) breaks. This also seems to be happening randomly.

This is the page in question.

    $(".overview").click( function() {
    $("#overview").animate({
        left: '0'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    $("#keynote").animate({
        left: '1000px'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    $("#comparison").animate({
        left: '2000px'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    return false;
});

$(".keynote").click( function() {
    $("#overview").animate({
        left: '-1000px'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    $("#keynote").removeClass("hidden").animate({
        left: '0'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    $("#comparison").animate({
        left: '1000px'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    return false;
});

$(".comparison").click( function() {
    $("#overview").animate({
        left: '-2000px'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    $("#keynote").removeClass("hidden").animate({
        left: '-1000px'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    $("#comparison").removeClass("hidden").animate({
        left: '0'
    }, { queue: false, duration: 600 }, 'easeOutBack')
    return false;
});

(the easing doesn’t seem to work either – so that’s really three problems in one).

UPDATE: Fixed it myself. See answer below.

  • 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-21T18:27:46+00:00Added an answer on May 21, 2026 at 6:27 pm

    Fixed it myself. The clue was in the CSS and having to make use of conditional statements:

    #overview {
    left: 0px;
    }
    
    #keynote {
        left: 1000px;
    }
    
    #comparison {
        left: 2000px;
    }
    

    jQuery:

        $(".overview").click( 
    function() {
    if ($("#overview").css("left") != "0px" ) {
        $("#overview").animate({
            left: '0'
        }, { queue: false, duration: 600 }, 'easeOutBack')
        $("#keynote").animate({
            left: '1000px'
        }, { queue: false, duration: 600 }, 'easeOutBack')
        $("#comparison").animate({
            left: '2000px'
        }, { queue: false, duration: 600 }, 'easeOutBack')
    
    }
    return false;
    });
    
    
    
    $(".keynote").click( 
    function() {
    if ($("#keynote").css("left") != "0px" ) {
        $("#overview").animate({
            left: '-1000px'
        }, { queue: false, duration: 600 }, 'easeOutBack')
        $("#keynote").removeClass("hidden").animate({
            left: '0'
        }, { queue: false, duration: 600 }, 'easeOutBack')
        $("#comparison").animate({
            left: '1000px'
        }, { queue: false, duration: 600 }, 'easeOutBack')
    
    }
    return false;
    });
    
    
    
    $(".comparison").click( 
    function() {
    if ($("#comparison").css("left") != "0px" ) {
        $("#overview").animate({
            left: '-2000px'
        }, { queue: false, duration: 600 }, 'easeOutBack')
        $("#keynote").removeClass("hidden").animate({
            left: '-1000px'
        }, { queue: false, duration: 600 }, 'easeOutBack')
        $("#comparison").removeClass("hidden").animate({
            left: '0'
        }, { queue: false, duration: 600 }, 'easeOutBack')
    
    }
    return false;
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the issue I am having: I have a large query that needs
Hey, I'm having an issue that appears to be related to collation, but I'm
Hopefully someone can shed a little light on an issue that I'm currently having
I'm having an issue with a query that currently uses LEFT JOIN weblog_data AS
I'm having an issue with a standard ASP.NET page that has a TextBox and
I'm having an issue where I've written a Java App that works perfectly on
Seem to be having an issue with std::auto_ptr and assignment, such that the object
I have a huge web app that is having issues with memory leak in
I am having an issue that I can't seem to figure out. Hopefully somebody
I'm having an issue that is driving me nuts, and according to everything 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.