0
currently my carousel has 3 Divs, and I would like the Divs to move from 1 to 2 and from 2 to 3 and from 3 to 1 with a 2-second timer, how do I do that? my code is like this:
<div class="container">
             <div class="wall wall-1" id="wall-1";>
               <a href="#wall-3"><img src="imagens/setae.png" 
id="imgcarrosele"/></a> 
               <a href="#wall-2"><img src="imagens/setae.png" 
id="imgcarroseld"/></a>
             </div>
             <div class="wall wall-2" id="wall-2">
               <a href="#wall-1"><img src="imagens/setae.png" 
id="imgcarrosele"/></a>
               <h1>carrosel numero - 2</h1>
               <a href="#wall-3"><img src="imagens/setae.png" 
id="imgcarroseld"/></a>
             </div>
             <div class="wall wall-3" id="wall-3">
               <a href="#wall-2"><img src="imagens/setae.png" 
id="imgcarrosele"/></a>
               <h1> carrosel numero - 3</h1>
               <a href="#wall-1"><img src="imagens/setae.png" 
id="imgcarroseld"/></a>
             </div>
         </div>     
css
  .container{
  width: 800x;
  height: 500px;
  margin: -20px auto 0px auto;
  margin-top: 0px;
  }
  .wall{
  display: none;
  width: 100%;
  height: 100%;
  }
  .wall-1{ 
 background-color: #f00;
 background-size: cover;
  }
  .wall-2{ background-color: #0f0;}
  .wall-3{ background-color: #00f;}
   .wall:target{
   display: block;
  }
  img#imgcarrosele {
      width: 100px;
      height: 100px;
      float: left;
      opacity: 0.3;
      margin-top: 200px;
  }
   img#imgcarrosele:hover {
      opacity: 1;
   }
    img#imgcarroseld {
      width: 100px;
      height: 100px;
      float: right;
      opacity: 0.3;
      margin-top: 200px;
      margin-left: 0px;
      transform: rotateY(180deg);
   }
   img#imgcarroseld:hover {
    opacity: 1;
   }
  img#idimg {
  width: 800px;
  height: 500px;
  position:relative;
  }
						
Guy and what would this slideshow look like, just a transition from one image popping up over the other? one image going left and the other coming in? will have arrow to control or will be rotating automatically?
– hugocsl
would be the following, the container div would house 3 Divs, the Wall-1 2 and 3, what I want to do is animation, the Wall 1 passing pro 2, the 2 pro 3, and the 3 pro 1, every 3 seconds, go from div to div, and underneath a pager that if you hold the mouse up it shows the respective Wall of it (those little balls that are under the carousel) I already have the arrows to control, now I want it to automatically pass after 3 seconds
– Gustavo Lima
but what would this transition between images look like? you want one to appear over the other like a fade, or one to roll to the left while the other comes from the right like a carousel?
– hugocsl
roll to the left
– Gustavo Lima