ZebraTable 1.1
ZebraTable allows for quick and easy table row highlighting. ZebraTable also allows for different color highlighting during mouseenter and click events.
Details
- Author
- David Walsh
- Current version
- 1.1
- GitHub
- darkwing/ZebraTable
- Downloads
- 3856
- Category
- Interface
- Tags
- Report
- GitHub Issues
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
Discuss
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus