Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Add and remove elements repeatedly Reply To: Add and remove elements repeatedly

#170886
oxxi
Participant

I figured it out, Lol! My brain hurts though. Anyways the big clue came from Paulie_D. Adding and removing the elements was definitely not the best option. That got me on the right track to just manipulate the color changes through a function and then call it with setInterval. Now the code does exactly what I wanted. Thx for the tips everyone.

http://jsfiddle.net/sAs4Y/4/