MooStripes

Add stripes to the table passed in parameters

Parameters

idOfTheTableTarget table.
oddClassClass to apply for odd lines (optional).
evenClassClass to apply for even lines (optional).

Example

In the <head> of the html file

<link media="screen" rel="stylesheet" href="css/moostripes.css" type="text/css"/>
<script src="js/mootools.js" type="text/javascript"></script>
<script src="js/mooStripes.js" type="text/javascript"></script>

<script type="text/javascript">
window.addEvent("domready", function() {
new mooStripes('idOfTheTable', {oddClass:'odd', evenClass:'even'});
});
</script>

Require

Core

* Core.js

Class

* Class.js
* Class.Extras.js

Native

* Array.js
* String.js
* Function.js
* Number.js
* Element.js

Element

* Element.Filters.js
* Element.Selectors.js

About

Moostripes.js v.1.0 for mootools v1.1 05 / 2007

by Floor SA (http://www.floor.ch) MIT-style license

created by David Mignot and Luca Pillonel, last modified by Luca Pillonel 30.05.12

Summary
Add stripes to the table passed in parameters
internal method

Functions

applyStripes

applyStripes: function(co)

internal method

Parameters

coID of the result container
applyStripes: function(co)
internal method