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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:45:29+00:00 2026-06-12T00:45:29+00:00

I have THIS slideshow . I want it to auto-advance unless someone clicks the

  • 0

I have THIS slideshow. I want it to auto-advance unless someone clicks the navigation elements.
I was thinking about simulating consecutive click events on each link at a certain amount of time (3000 ms, for instance), but my code is ineffective (I’m not so good at JavaScript/jQuery, I admit it). Martin Angelov’s nice tutorial, unfortunately does not meet my needs.
Can anyone give a hand please? Thank you!

  • 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-12T00:45:30+00:00Added an answer on June 12, 2026 at 12:45 am

    A version adapted from the function in the linked tutorial. The code could be more condensed, but I tried to make it as clear as possible what’s going on.

        (function autoAdvance(index){
        //We use index to keep track of which nav link you should be clicking on.
    
        //Click on the next nav link
        var allNavLinks = $('#slidernav a'); //This selector gets every anchor that is a descendant of your slidernav list
        var currentNavLink = allNavLinks.get(index);
        currentNavLink.click(); //Simulates a click on your nav link
    
        // Schedule your next autoAdvance
        var clickNextFn = function(){autoAdvance((index+1)%allNavLinks.length)}; //You need to wrap the callback to autoAdvance in a function so that setTimeout can evaluate it later.
        timeOut = setTimeout(clickNextFn,5000); //Will call the clickNextFn in 5 seconds
    })(0); //Start the function by auto clicking on index 0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this slideshow that I'm trying to simply move up, but I can't
ok, so i have this slideshow.html containing just a bunch of pictures, and the
I have this code to run a slideshow (this is only part of what
I have this string 2012-06-27 16:17:06 and I want to convert it to GMT
I have this page in front of me. What I want to do is
Not sure if this is possible but I have a slideshow on my site
I want to create image slideshow in android. I have many images in android
I am making with a slideshow in it. I want the navigation bar to
The jQuery plugin cycle looks for elements of class slideshow . I want to
I have this small source of code for (i = 0; i < elements.length;

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.