Update script.js

This commit is contained in:
Mike Francis 2013-09-09 16:12:22 +01:00
parent 08e4a345c7
commit f4b77066e5
1 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
$(function() { (function($) {
$('li:last-child,td:last-child,tr:last-child,th:last-child').addClass('last');
$('td:nth-child(odd),th:nth-child(odd),tr:nth-child(odd)').addClass('odd');
$('td:nth-child(even),th:nth-child(even),tr:nth-child(even)').addClass('even');
}); //
})(jQuery);