7
Imagine I have a list of 20 blocks <li>, and that when the page loads, each of them should be shown within milliseconds of each other (this would be done with CSS3, so the code would only have to add a class to the elements), like a "cascade effect".
How could I pass this logic to Javascript / jQuery?
Here’s a FIDDLE with all the example, only missing the logic of the effect "cascade".
+1 Contrary to my answer, this does not depend on creating extra variables unnecessarily
– mgibsonbr
@mgibsonbr, this time I agree with you, you usually have the best and fastest response :)
– Sergio