Tag Archives: javascript

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 [...]

TinyURL Bookmarklet

TinyURL Bookmarklet

If you just want to try this out, drag the link below to your bookmarks toolbar, then click the new bookmark. I’ve only tested in Firefox 3.04 so far so your mileage may vary if you use another browser. Let me know in the comments if you find this useful or have any problems. Tiny [...]