Joe Bergantine | Designer

JavaScript to Create a Vertically-Even Series of Elements

This works on a series of elements nested in another element, as in the following where innerEl is nested inside outerEl.

Thing One

Thing One

Thing Two

Thing Three

Thing One

Thing Two