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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:41:55+00:00 2026-06-17T16:41:55+00:00

We have developed a jQuery plugin based on the jQuery Easing and Cycle plugins.

  • 0

We have developed a jQuery plugin based on the jQuery Easing and Cycle plugins. A sample can be seen at http://jsfiddle.net/Dx5N4/3/embedded/result/. The idea is to have multiple lists of items (say, images) to which the Cycle plugin is applied. Each list is given a different initial delay so that the jQuery Cycle slideshows on each list begin at a different point in time. A quick sample from the plugin is shown below.

var delay = 100;
$("#slideshow ul").each(function() {
    $(this).cycle({ delay    : delay
                    , easing : "easeInOutElastic"
                    , fx     : "scrollUp" });
    delay += 100;
});

When the page loads, the plugin works just fine. The Cycle plugin is applied correctly, the slideshows start and slides transition with a delay, as expected.

However, if the user switches to a different browser tab, minimizes the browser window or switches to a different application and then comes back to the browser tab with the slideshows, the delay between individual slideshows is lost. Completely unpredictable behaviour ensues at this point, ranging from all slideshows transitioning at the same time, to none transitioning at all.

Any thoughts on what goes wrong when the browser tab loses focus, and how this can be corrected?

  • 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-06-17T16:41:56+00:00Added an answer on June 17, 2026 at 4:41 pm

    Modified the plugin to trigger slide transitions manually through normal JavaScript.

    var slideshows = $("ul", $("#slideshow"));
    
    $(slideshows).each(function() {
        $(this).cycle({ easing : "easeOutElastic", fx : "scrollUp", timeout : 0 });
    });
    
    setInterval(function() {
        var item = 1;
    
        slideshows.each(function() {
            var slideshow = $(this);
            setTimeout(function() {
                slideshow.cycle("next");
            }, item++ * 100);
        });
    }, 4000);
    

    The modified (working) code is available at http://jsfiddle.net/Dx5N4/5/embedded/result/.

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

Sidebar

Related Questions

I have a custom developed WordPress plugin that is using jQuery 1.4 and for
I have developed a wordpress plugin that uses jquery. This plugin have some javascript
I have problem when using jQuery plugin tablesorter and I can't call trigger twice.
I have developed a jQuery plugin which does the job of showing and hiding
I have been messing around with Jquery's transform3d plugin, developed by heygrady (https://github.com/heygrady/transform3d). And
I am using a counter plugin for jquery (http://wplayground.comuv.com/counter/) and have it implemented successfully
I need to develop a generic jQuery-based search plugin for the ASP.NET MVC application
I have developed a PopupMenu using a jQuery plugin. When the HTML button is
I have developed sample api as jar file. This jar file contains the code
I have developed a small administration page for game servers which you can add/remove/edit

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.