I'm a fool, I've answered my own question, but for those of you that could use the solution here it is $(document). Ready(function(){ animateDiv(); setInterval ('animateDiv()', duration * $(myList). Length); }); var myList = '#testimonialList ul li'; var speed = 'slow'; var duration = 3000; function animateDiv() { $(myList).
Each(function(index) { var quote = $(this). Find('. Quote').text(); var author = $(this).
Find('. Author').text() setTimeout(function() { $('#testimonialQuote, #testimonialAuthor'). FadeOut(speed, function() { $('#testimonialAuthor').
Text(author). FadeIn(speed); $('#testimonialQuote'). Text(quote).
FadeIn(speed); }); }, index * duration); }); } I should have been using setInterval to call my function again instead of calling having my function call itself. Cleaner too now. I just called animateDiv() once at the beginning, then set the interval to call animateDiv depending on the number of elements in my list multiplied by the duration that I set.
I'm a fool, I've answered my own question, but for those of you that could use the solution here it is. $(document). Ready(function(){ animateDiv(); setInterval ('animateDiv()', duration * $(myList).
Length); }); var myList = '#testimonialList ul li'; var speed = 'slow'; var duration = 3000; function animateDiv() { $(myList). Each(function(index) { var quote = $(this). Find('.
Quote').text(); var author = $(this). Find('. Author').text() setTimeout(function() { $('#testimonialQuote, #testimonialAuthor').
FadeOut(speed, function() { $('#testimonialAuthor'). Text(author). FadeIn(speed); $('#testimonialQuote').
Text(quote). FadeIn(speed); }); }, index * duration); }); } I should have been using setInterval to call my function again instead of calling having my function call itself. Cleaner too now.
I just called animateDiv() once at the beginning, then set the interval to call animateDiv depending on the number of elements in my list multiplied by the duration that I set.
Read up on dev.opera. Com/articles/view/efficient-javascript/? Page=2 Especially the part of "Pass functions, not strings, to setTimeout() and setInterval()" – Peeter Mar 19 at 9:05.
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.