Styling alphabetical lists (ol type="a") using selectors

February 17, 2008

I was recently asked how to apply a style to an alphabetical ordered list, you can do this by using CSS selectors which are supported in IE7 and Firefox 2. Normally you would be able to add the class directly to the <ol>, but in this case, they… Read more »

Alternate rows with jQuery (Tiger / Zebra Stripes)

February 14, 2008

It's always been a pain to add alternate styles to table rows, lists etc. With jQuery you can do this easily, you can even make it apply globally to you site. Example: $("table.tiger-stripe tr:even").addClass("oddrow");… Read more »

Adding CSS selector support to old browsers

February 13, 2008

Now that IE7, Firefox 2 and Safari 3 all support CSS selectors, it’s time to put all that power to good use! In the past forms have been a pain to style as you had to assign classes to each form field, so you’d end up with something like this Read more »

toggle multiple checkboxes with jQuery

February 05, 2008

The problem I had was that I wanted to toggle multiple checkboxes on and off on a form. I’ve done this many times before but can never quite remember how I do it. This is my solution (works with jQuery 1.1.2) for future reference: <script… Read more »

jQuery table sorting & paging

February 02, 2008

I found this great article about table sorting and paging using the jQuery library. I’ve updated it to work with jQuery 1.2.2. Which involves changing the .lt(n) and .gt(n) methods to the new .filter(’:lt(n)’) method and a few other things. Read more »

« Previous Page