Where does the time go? It’s been a while since the last post. I’ve had a number of projects demanding my attention at work and at home.
This morning, inspired by David F Miller’s Zebra tables article at A List Apart, I created a JavaScript function to stripe the Waxheads’ results table. I’d been intending to automate the tedious process of adding guide stripes to the Waxheads’ tables for a while but, until seeing David’s article, hadn’t found the impetus.
My solution is a short function that sets the class
of either the odd or even rows of a table. Thus, you can have full control over the guide stripes’ appearance via the page’s stylesheet.