I currently have 5 divs that I fade down one by one by iterating through a for loop that targets each div.
Currently this works, however the fade down follows the pattern of the count up I do
for(var i = 0; i < numContainers; i++) {
//fades down div block_0
//then div block_1
//then div block_2
//then div block_3
//etc
}
How do I iterate through the for loop and target the divs randomly, so fade down doesnt happen from left to right? but instead like:
for(var i = 0; i < numContainers; i++) {
//fades down div block_2
//then div block_4
//then div block_1
//then div block_3
//= random order
}
Example here: http://codepen.io/anon/pen/waLeLw