Skip to content

darkwing/ZebraTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published