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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:35:10+00:00 2026-05-23T11:35:10+00:00

http://jsfiddle.net/nicktheandroid/B7Rhe/8/ In Chrome, when a browser tab is inactive, chrome slows any setInterval to

  • 0

http://jsfiddle.net/nicktheandroid/B7Rhe/8/

In Chrome, when a browser tab is inactive, chrome slows any setInterval to only happen every second, even though my slideshow is once every two seconds, it’s still messing up.

go to the page above and see how there’s a slideshow there, now click on another tab in your browser window, stay there for 15 or so seconds, then click back to the tab with the slideshow, the slideshow will try to quickly fade in and out every slide to get caught up. But then I look at these simple slideshows and it doesn’t happen to them:

http://jonraasch.com/blog/a-simple-jquery-slideshow

Then on Jonathan Snook’s small slideshow it messes up like mine, but a plugin was made of his script and the plugin example doesn’t mess up…?

1 (messes up) Jonathan Snook’s script:
http://snook.ca/technical/fade/fade.html

2 (doesnt mess up)Plugin of the above:
http://mathiasbynens.be/demo/slideshow

QUESTION: why does mine mess up, and Jonathan Snooks mess up, when the plugin version of his doesn’t, and Jon Raasch’s slideshow doesn’t mess up either?

I found some other SO questions that deal somewhat with this but they didn’t have the answer I need. ere’s the jquery, just for reference here at SO:

var x = 2;
console.log('Not broken');
$('.slideshow li:gt(0)').css({opacity:0});

setInterval(function() {
    var m = $('.slideshow li').size();
    x += 1;
    if (x > m) {
        x = 1;
    }
    $(".slideshow ul li:visible").animate({
        opacity: 0
    });
    $(".slideshow ul li:nth-child(" + (x) + ")").animate({
        opacity: 1
    });
}, 2000);
  • 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-23T11:35:10+00:00Added an answer on May 23, 2026 at 11:35 am

    After investigating and testing your example links, working and non-working… I see the link that is working fine in Chrome, is actually using jquery-1.3.2 . It looks like it’s working fine in Chrome using the old Jquery framework.

    See the update link : http://jsfiddle.net/B7Rhe/10/

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

Sidebar

Related Questions

http://jsfiddle.net/nicktheandroid/B7Rhe/5/ I'm trying to make the next slide fade in over the current slide,
http://jsfiddle.net/nicktheandroid/yshcR/2/ you can type into the input box any of the words you see
http://jsfiddle.net/defencedog/2Skc7/ I am trying to remove the online class ONLY for administration which has
http://jsfiddle.net/nicktheandroid/SsfpG/ I don't understand why these inline elements are causing the paragraph to stop
http://jsfiddle.net/tgWKZ/ This worked in the older version of jQuery. Only thing that is stopping
jsfiddle: http://jsfiddle.net/UenFN/ . Notice the slight, brief pixelation after the animation. This error only
http://jsfiddle.net/nicktheandroid/TWKJb/5/ Once you grab the handler and start to drag it, the handlers left
http://jsfiddle.net/nicktheandroid/6BAfH/1/ The list-elements are sorted accordingly by the number in their span. Why is
http://jsfiddle.net/nicktheandroid/QhL2M/ (type bye into the input box) Purpose of the script: Each li contains
http://jsfiddle.net/nicktheandroid/7raYa/9/ My script allows me to scroll the page like a PDF, allowing you

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.