Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ZebraTable allows for quick and easy table row highlighting. ZebraTable also allows for different color highlighting during mouseenter and click events.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Docs
Source
README.md
package.yml

README.md

ZebraTable

ZebraTable allows for quick and easy table row highlighting. ZebraTable also allows for different color highlighting during mouseenter and click events.

Screenshot

How to Use

ZebraTable can be initialized at any time but is generally initialized at the top of the document during the page's normal load. There are no required arguments -- only options.

CSS

.highlight          { background:#d5fcdc; }
.even               { background:#fff; }
.mo                 { background:#e3f1fb; }
.odd                { background:#eee; }

Javascript

var zebraTables = new ZebraTable({
    elements: 'table.list-table',
    cssEven: 'even',
    cssOdd: 'odd',
    cssHighlight: 'highlight',
    cssMouseEnter: 'mo'
});

For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/zebra-table

Something went wrong with that request. Please try again.