Tag Archives: jquery

Zebra striping with CSS3

Zebra striping with CSS3

What is it? Zebra striping is when alternate rows in tabular data are shaded in different colours to make the table easier to read as shown in example below: To implement this, we need to be able to identify the alternate rows and use our stylesheet to format them differently from the other rows. There [...]

Custom events in JQuery

For a project at work this week I needed to modify a Javascript library so that under a particular condition it would generate a JS event that could be handled elsewhere in the application.  Why use JS events rather than just call a regular JS function? Well, I guess partly to maintain consistency with the [...]