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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:09:36+00:00 2026-05-27T04:09:36+00:00

Ok so this bug is very weird here is my code, you can actually

  • 0

Ok so this bug is very weird
here is my code, you can actually see this bug happening using fiddler

http://jsfiddle.net/LLMUX/13/

the code works fine as long as you don’t go to a different tab. the code is a rotator. if you hover the links it will show the block the hover is assigned, then once you hover off it will resume the main rotation

produce the bug
– have the fiddler page open, you could copy the code into a file and try it, same thing happens
– with the fiddler page you can hover or whatever you want or do nothing
– open another tab, do whatever for a few seconds 5-10 should do
– go back to the fiddler page
– chances are you will see 2 blocks showing then eventually 1 goes away

this only happens if you are coming back from a different tab, if you stay on the page this will NEVER happen. I tried is safari, it did not happen I tried it on IE9 it did not happen! I tried this on FF 7 and 8, both with this problem.

If anyone have any idea on why this happens it would be greatly appreciated

Edit – might not happen 100% of the time

  • 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-27T04:09:37+00:00Added an answer on May 27, 2026 at 4:09 am

    I bet your problem is the same as this: Jquery setInterval too fast when coming from another tab

    Browsers try to minimize the performance hit of web pages being active when the user doesn’t interact with them. One such optimization is setTimeout/setInterval “clamping”: Firefox 5+ doesn’t fire timeouts faster than once in 1s.

    I see that your code only uses a 1300ms interval, but I guess jQuery’s animation deals with being in background in a different way than your setInterval-based code does, but I’m not up to debugging this to know the exact reason it works like that.

    See also Background Tab Animation and jQuery

    (edit) and if I’m right, the way I’d try fixing it is to stop using setInterval to drive animation and instead to always use the jQuery’s ‘finished’ callbacks to schedule the next slide via setTimeout: fadeIn –> wait 1s –> fade out –> fade in.

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

Sidebar

Related Questions

This is a very weird bug I'm having. I'm using Modernizer and after a
I have a very weird bug here, this is the scenario; -I click on
I have a very weird bug that I can't seem to figure out. I
I have a very weird problem. I am using PHP, in my PHP code,
I just stumbled across this bug in some legacy code: class MyAPIHandler { private:
UPDATE 2011.09.13 This bug has been resolved by Adobe. The example code below now
I have recently discovered that I am affected by this bug http://www.mail-archive.com/mono-bugs@lists.ximian.com/msg71515.html Well, at
I'm experiencing a very weird Javascript bug in Chrome. I've made a website for
Hey fellas, I have this weird bug, and I have no clue how to
More of a warning than a question: We resolved a very puzzling bug this

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.