Various guides and experiments

Table Stripe

I just wanted to make a better presentation of the member register I’ve been doing, so I made this tablestripe plugin that zebra stripes a table as well as highlighting the one the mouse is currently over.
Simply run “$(‘tabletorunon’).tablestripe();”. You’ll have to do the CSS yourself, though. Every second row gets .striped and the one the mouse is currently over gets .mouseover. Stylesheet them as you see fit. :)
I’m not 100% sure how it behaves if you’ve got tables nested within another table, but I guess it shouldn’t really be a problem. Haven’t tested it with rowspan or anything either.
Example HTML file
Download link:

Posted in jQuery plugins | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *