Alternating background colors in tables and lists

Using prototype and JavaScript to color tables and lists.

Example

Usage

stripes(['one', 'two', 'three'], $('navigationX').childElements());

JavaScript

Alternating background colors in tables and lists.