Installing Composer

24. July 2013 Technique 0
Installing Composer Up and Running with PHP: PEAR, PECL, and Composer | by Joseph LeBlanc View this entire Up and Running with PHP: PEAR, PECL, and Composer course and more in the lynda.com Online Training Library®.

Detect Orientation Change on iPad (or iPhone)

19. July 2012 Mobile, UI Stuffs 0
A few years back I came across a mobile site (and accompanying tutorial) by Engage Interactive (UK) that did some magical stuff. The navigation of this small sub-site was driven by orientation changes. The four areas of the site were revealed only by rotating the device! Mind:blown (back then, of course). Anyway, here’s the code ...

Click Label, Set Radio Button

26. March 2012 jQuery, UI Stuffs 0
if($(\'.RadioLabel\')[0]){ $(\'.RadioLabel\').css(\'cursor\', \'pointer\'); $(\'.RadioLabel\').click(function(){ $(this).parent().find(\'.FormRadio\').attr(\'checked\', true); }); } So, i have a div (.RadioWrapper)  with a radio button (.FormRadio) and a <p> tag (.RadioLabel).  I attach this click event to the label, which calls to the parent of both items to find the associated radio button with class ‘FormRadio’ and sets it to checked. I ...