This snippet lets you strip the even/odd rows of your tables/lists different colors for easier reading:
|
1 2 3 4 5 6 |
$(document).ready(function() { var oddhex = "#364146"; var evenhex = "#102227"; $("table.zebra tr:odd, ul.zebra li:odd").css("background-color", oddhex); $("table.zebra tr:even, ul.zebra li:even").css("background-color", evenhex); }); |