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

  • Home
  • SEARCH
  • 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 8341281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:26:01+00:00 2026-06-09T05:26:01+00:00

I`ve got 3 different contents of divs placed on the same position in css.

  • 0

I`ve got 3 different contents of divs placed on the same position in css.

<div class="sidebanner_01">
abc
</div>

<div class="sidebanner_02">
def
</div>

<div class="sidebanner_03">
ghi
</div>

I need them to change continuously (fade between each other maybe?).

Sorry for a newbie question. jQuery can be used.

  • 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-09T05:26:02+00:00Added an answer on June 9, 2026 at 5:26 am

    Here’s a very basic fiddle that should do what you want. Note that plugins are much better as they have much more functionality, but this should do it if you want a very basic system.

    http://jsfiddle.net/r9ngh/2/

    var slideShowDivs = ['.sidebanner_01', '.sidebanner_02', '.sidebanner_03'];
    var currentID = 0;
    var slideShowTimeout = 1000;
    $(document).ready(function() {
        for (var i = 1; i < slideShowDivs.length; i++) $(slideShowDivs[i]).hide();
        setTimeout(slideShowChange, slideShowTimeout);
    });
    function slideShowChange() {
        var nextID = currentID + 1;
        if (nextID >= slideShowDivs.length) nextID = 0;
        $(slideShowDivs[currentID]).stop(true).fadeOut(400);
        $(slideShowDivs[nextID]).stop(true).fadeIn(400, function() {
            setTimeout(slideShowChange, slideShowTimeout);
        });
        currentID = nextID;
    }​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The problem is like that: a school has got different classes. Each class has
I got a solution that includes 3 different projects, a Class Library, a Web
In a certain view I have got different elements and I need the keyboard
I am here as a developer of a website. My website got different modules
So I've got 3 different columns (basket 1, 2, and 3). Sometimes these columns
I've got three different apps, all in GWT, none using Spring. Today, all of
Here's the problem. I've got two different technologies needing drivers to access a PostgreSQL
In a different post I got a reply that tells about Repetitive SQL. Could
I've got a problem using different layouts for list items in my project. Here
I've got a long list containing different numbers of elements which also can recur

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.