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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:14:52+00:00 2026-05-24T19:14:52+00:00

Ive been trying to create a testimonial section for a page which will have

  • 0

Ive been trying to create a testimonial section for a page which will have a slideshow fadeIn(), fadeOut() effect. I have it working with a plugin, but i really want to understand how its working, for customizing in the future.

I see how it works with adding/removing classes somewhat, but is it possible with loops? I’m having so much trouble with how javascript doesnt pause between loop iterations. Take the following code for example:

    <div class="container"></div>

   var jedi = new Array();
  jedi[0]= 'Anakin';
  jedi[1]= 'ObiWan';
  jedi[2]= 'Jacen Solo';

  $.each(jedi,function(counter,value){

    $('.container').append('<p class="blue">' + jedi[counter] + '</p>').children().fadeIn(800*counter);
    $('.container').children().fadeOut(800);
    //alert(value);

     })

Heres the jsfiddle as well: http://jsfiddle.net/jpmMR/

I would like to fade in a characters name, then it fades out, and then the next guy and so on. But what happens is a big mess. If this is possible, can someone please show me how its possible? Also if its not too much trouble, can they explain to me the ‘hows’ and ‘whys’ of getting around the fact that JS completes a loop in milliseconds. AND if not even more trouble, explain it in english like im a 9 year old.

Also is it possible to loop an $.each?
Thanks so much in advance. This has been killing me.

  • 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-24T19:14:53+00:00Added an answer on May 24, 2026 at 7:14 pm

    You could also do something like this… though it is not as flexible if you want to do other chained animations.

    http://jsfiddle.net/jpmMR/1/

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

Sidebar

Related Questions

i am trying to create a fade effect with the following...ive been told im
I've been trying to create a C# ASP.NET page which sits on a Windows
I've been trying to create a client side editor which allows the end user
I'm a jQuery newb and I've been trying to create a custom slideshow widget
I've been trying to create a button within a php page called by ajax
I've been trying to create a proper Restart feature within my app, which doesn't
I've been trying to get WCF security working for my project, and have had
I've been trying to create a new variable of type Cmplx (which is my
Ive been trying to create a MouseOver event like iTunes currently uses on thier
I have been trying to load my pre-filled database into my device, ive tried

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.