Items tagged jQuery

I've been a fan of box-sizing: border-box ever since reading Paul Irish's article * { box-sizing: border-box } FTW I use it on most projects, and find that it really speeds things up, and makes setting out grids much easier, especially when using Sass and Compass. In a few places, though, you need to be a bit careful.
Here is how to build a set of timezone clocks using PHP, jQuery and CSS3. It’s based heavily on Toby Pitman’s example, and even uses his images. I’ve added the extra timezones using a PHP array. In theory it would be possible to do it all in Javascript, but PHP is good at handling dates, and there’s no need to do any horrible maths with timezone offsets. Just tell the server which timezone you are interested in.