Update script.js
This commit is contained in:
parent
08e4a345c7
commit
f4b77066e5
10
js/script.js
10
js/script.js
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue