How do I fix alternating color shading in a customization?

Forums:

I have done some customizations to our Teacher info page. I have hidden some of the lines that we don't use or are not applicable to our district. But now my shading is not alternating. I know how to fix it when the code is a color (bgcolor="#edf3fe") or blank but I don't know how to make the shading alternate when it is odd-even (class="~[evenoddrow]"). I didn't delete the unwanted lines, I just hid them from showing.
I hope this makes sense and someone can help me. Thanks

When customizing this page, I actually inserted new and removed the entire row of anything I didn't want. I didn't hide them. Then, I just added this to my script:

$j('#infoTable tr').removeClass('oddRow');
$j('#infoTable').addClass('linkDescList');

Subscribe to Comments for "How do I fix alternating color shading in a customization?"