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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:10:57+00:00 2026-05-21T12:10:57+00:00

I have got a weird problem here, and more interesting that it works fine

  • 0

I have got a weird problem here, and more interesting that it works fine on jquery version 1.5.2 and doesn’t on version 1.4.3.

So, I am going to drop a piece of the code here:

$('.slides .items').animate({
    left: number + 'px'
}, 500, 'swing');

Here is an item of the HTML:

   <div class = 'slides'>

                <div class = 'items'>

                    <div class = 'item' style = 'background: url(img/slides/slide-1919.jpg) no-repeat;'>

                        <div class = 'nav'>
                            <div class = 'back link' onclick = 'changeSlide(-1);'></div>
                            <div class = 'forward link' onclick = 'changeSlide(1);'></div>
                        </div>

                        <div class = 'title'><span class = 'textBuffer'>1919</span></div>

                        <div class = 'contentTitle'><span class = 'textBuffer'>The first Loblaw <em>Groceterias</em> store opens in Toronto</span></div>

                        <div class = 'content'><span class = 'textBuffer'>The new self-serve, cash-and-carry concept of grocery retailing is a big hit with customers, who take advantage of quality goods at lower prices. Within a decade, the Loblaw chain expands to more than 70 stores in Ontario alone.</span></div>

                    </div>
                                            ........

</div>
</div>

So, when this number>1000px the animation seems cycling the whole items from the begging again, until is going to get in right position

I am not sure if 1000px makes the problem, or it is a coincidence.

Did somebody ever seen that kind of problem and if it is possible to fix it. Or I have kill this ‘animate’ ?

Thanks !

  • 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-21T12:10:57+00:00Added an answer on May 21, 2026 at 12:10 pm

    Ok, I found the problem, it is jQuery core bug, it has limitation on animate, 10000px.

    It is easy to fix, just add or change this part of the code:

    $.fx.prototype.cur = function(){ // we are overwriting this function to remove limiting of the size of the
    
        if ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) ) {
          return this.elem[ this.prop ];
        }
    
        var r = parseFloat( jQuery.css( this.elem, this.prop ) );
        return typeof r == 'undefined' ? 0 : r;
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

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.