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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:54:28+00:00 2026-05-30T08:54:28+00:00

I have something like this <div id=dis_image></div> <div id=images> <img src=1/1.jpg class=image style=opacity:0.3 />

  • 0

I have something like this

<div id="dis_image"></div>

<div id="images">
<img src="1/1.jpg" class="image" style="opacity:0.3" />
<img src="1/2.jpg" class="image" style="opacity:0.3" />
</div>

<ul style="display:none" id="images_list">
<li>testing 1</li>
<li>testing 2</li>
</ul>

What i am planning to do is every 5 seconds, i want the first text from id:images_list to display on id:dis_images and id:images first image changes opacity from 0.3 to 1
then, proceed to second one, first text and first image is replaced by second text and second image and so with opacity. The first image should return to its normal opacity 0.3

I have tried this but its not working correctly as it is stopped at last.

jquery:

setInterval(function() {
    $("#dis_image").html("");
    $('#images_list :nth-child(1)').next().show().fadeOut(1200).appendTo('#dis_image');
    $('#images :nth-child(1)').next().css({ opacity: 1 });

} , 5000);
  • 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-30T08:54:29+00:00Added an answer on May 30, 2026 at 8:54 am

    appendTo() method moves the element, so you are removing your element from the list, and in next iterations, it doesn’t exist. Try clone().

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

Sidebar

Related Questions

I have something like this currently: <div class = className style = position: absolute;
So basically I have something like this <div class=iframe-holder> <span></span> <iframe src=iframe.html width=200 height=200
I have something like this : <div style=width:1300px> <ul class=ul-length ul-textalign> <li class=li-horizontal> A
I have something like this: <body> <div style=width:700px; margin:0 auto;> <div class=inner-div></div> </div> </body>
I basically have something like this: <div id=slide-1 style=display:none;> Not too important stuff </div>
I have something like this: <div id=container> <img src= id=bigImg> </div> On the page
i have my html something like this... <div class = content> <div class =
Let's imagine that I have something like this: <html> ... <div> <iframe src=test.html hash=r4d5f7></iframe>
I have three div layers inside of another larger one. Something like this: Image
I have something like this: //html <div class=panel> <div class=tools> <a href=#action1>Action 1</a> <a

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.