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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:52:59+00:00 2026-06-11T22:52:59+00:00

Right so before I get started with my question I have set up the

  • 0

Right so before I get started with my question I have set up the code in jsFiddle;

Right…

  1. There is a default cycle running through the existing 6 options no problem!
  2. Inside each slide there are an a various number of spans, which remain dormant until it’s pager is hovered.

    1. You will see that there is an alert, this displays the number of spans in the relevant slide – doesn’t work correctly as it doesn’t seem to like the reset. Doesn’t need to be fixed, this is just for testing purposes.
    2. Automation seems to cycle through the spans perfectly fine, this is good – but the timer seems to not work properly.
    3. Slides which have just one span seem to dis-regard the if statement n>1 and they cycle through regardless.

Greatly appreciate any help getting items 2/3 fixed!!!

  • 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-11T22:53:01+00:00Added an answer on June 11, 2026 at 10:53 pm

    Don’t worry I fixed it.

    http://benalman.com/projects/jquery-dotimeout-plugin/ This helped with the main problem, but wasn’t working in Internet Explorer so I used browser detect.

    The working js can be found below for future reference.

    if ( $.browser.msie ) {
        function nextSlide() {
                var active = $("#slides .activeInner img.active");
                var next   = active.next();
                if (next.length === 0) {
                    var next = $('#slides .activeInner img:first');
                }
    
                active.removeClass('active').css('display','none');
                next.addClass('active').css('display','block');
        }
    
        setInterval(nextSlide, 5000);
    } else {
        $.doTimeout('loop',5000,function() {
            var active = $("#slides .activeInner img.active");
            var next   = active.next();
            if (next.length === 0) {
                var next = $('#slides .activeInner img:first');
            }
    
            active.removeClass('active').css('display','none');
            next.addClass('active').css('display','block');
            return true;
        });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have asked this before but I didn't get the question right so the
NOTE : Right before posting this question it occurred to me there's a better
I have the following CSS code .editable:before { content: url(../images/icons/icon1.png); padding-right:5px; } this is
Right, before we get off about merged cells, I hate them too, but I've
I have a gridview that is only shown in a modal popup. right before
The SO community was right, profiling your code before you ask performance questions seems
I have tried to ask a variant of this question before. I got some
I'm trying to get started using git, but I'm having some troubles right away.
I want to perform an ajax request right before my form is submitted, and
I'm explicitly setting the CurrentThread.CurrentUICulture to French right before the Component Resource Manager is

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.