This should do it (updated to repeat): (function fadeItems(elem){ elem. FadeIn('slow',function(){ $(this). FadeOut('slow', function(){ if($(this).next().
Length > 0){ fadeItems($(this).next()); } else{ setTimeout(fadeItems, 3000, $("div. Reviews:first")); } }); }); })( $("div. Reviews:first") ) fiddle jsfiddle.net/rwN7U/2.
This should do it (updated to repeat): (function fadeItems(elem){ elem. FadeIn('slow',function(){ $(this). FadeOut('slow', function(){ if($(this).next().
Length > 0){ fadeItems($(this).next()); } else{ setTimeout(fadeItems, 3000, $("div. Reviews:first")); } }); }); })( $("div. Reviews:first") ); fiddle - jsfiddle.net/rwN7U/2.
Updated to include repeat – Abe Miessler yesterday +1 Inelegant, but effective. =) – Shad yesterday This looks good! Just an additional question on that.
If I did want to add Previous and Next links, how would I implement that with the function you had? – user1048676 yesterday.
Use callback functions on your jQuery animations $('#item1'). Fadeout(200,function(){ // This is the callback which // runs after this animation completes. RunAnotherAnimation(); }).
I was fiddling around with something else and forgot to post my answer, but anyway here is the example I made, if that is of some use to you: jsfiddle.net/3pTzh/4.
Function didleeslide(item) { $('#item'+item). SlideDown(1000); item = (item > 2)? 1 : ++item; $('#item'+item).
SlideUp(1000); item = (item > 2)? 1 : ++item; $('#item'+item). SlideDown(1000); setTimeout("didleeslide("+item+")",1000); } function didleefade(item) { $('#item'+item).
FadeIn(1000); item = (item > 12)? 11 : ++item; $('#item'+item). FadeOut(1000); item = (item > 12)?11 : ++item; $('#item'+item).
FadeIn(1000); setTimeout("didleefade("+item+")",1000); } $(document). Ready( function () { didleeslide(3); didleefade(13); }); PS: Slide, for me, looks more elegant since there would have too much shuffling. On the other hand, fadein/fadeout might be the original idea.
Take a look here: http://zequinha-bsb.int-domains.com/fadein-fadeout.html.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.