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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:09:12+00:00 2026-06-10T22:09:12+00:00

I have a working jQuery script that will cycle through some images. However, when

  • 0

I have a working jQuery script that will cycle through some images. However, when it loops back to the first slide on the first loop, the first slide doesn’t show. But as it keeps running and looping back to the first it works just fine, it is just on the first loop.

Link to the problem: http://jsfiddle.net/YLJNw/8/

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

    An easy fix is to simply remove your <div class="slide">. When you make your append call the images end up outside of this div whereas they begin inside of it.

    jsFiddle example

    An alternate option is to modify your jQuery to work on the div with class slide instead of the content div.

    jsFiddle example

    $(function() {
        $('.slide img:gt(0)').hide();
        setInterval(function() {
            $('.slide img:first').fadeOut(1000)
            .next('img').fadeIn(1000)
            .end().appendTo('.slide');
        }, 3000);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://grab.by/1rI8 I wrote some jQuery script so that the background image will always scale
I'm pulling my hair out trying to get a jQuery script working that will
I'm working with Jquery in Drupal. I have sets of four blocks that all
I have this JQuery code working however I need to know whether how to
I'm working on some JQuery code and I have a question about caching selectors.
I am working on a small bit of script that will allow for easy
I have a JQUERY AJAX post function that will work if there is one
I have a big form, that will be serialized by a jQuery function. The
I'm working on an intermediary form that will gather some data from the user
I have a JavaScript script that will hopefully have multiple divs fade in/out every

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.