Hello,
I have a set up of the following HTML
<div class="container">
<div class="box">Content</div>
<div class="box">Content</div>
<div class="box">Content</div>
<div class="box">Content</div>
<div class="box">Content</div>
</div>
I would like to show one .box div at a time within the .container div. Fading in/out or sliding in/out would be preferred. Once the last .box div is shown it should fade to the first again. The number of .box divs could possibly vary. Sometimes there could be 2 and at others there could be 5. Also a slight delay of something like 3-4 seconds would be awesome.
I think this should be pretty straight forward with jQuery but I haven't yet found the solution I am looking for. Also I cannot use any plug-ins. Thanks in advance for any help.