ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary |
mNo edit summary |
||
Line 488: | Line 488: | ||
rainbowList.css({ | rainbowList.css({ | ||
'backgroundColor': 'orange' | 'backgroundColor': 'orange' | ||
}); | |||
$('table.odd-stripe').each(function(){ | |||
var tr = $(this).find('> tbody > tr').has('td'); | |||
var bc = $(this).css('background-color'); | |||
$(this).css('background-color', 'transparent'); | |||
for(var i = 0; i < tr.length; i += 2){ | |||
$(tr[i]).css('background-color', bc); | |||
} | |||
}); | }); | ||
}); | }); |