We’re big fans of boilerplate here. It gives a really solid start point for html5 builds. There’s tons of features built in to allow you to achieve conditional browser stylesheets, reduce requests on a page, improve html5 support for older browsers the list goes on and on… but now, it’s improved. First up, the inclusion [...]
Read More
Here’s a really nice example of parallax in action… http://activatedrinks.com/ Parallax is one of those things that its really easy to get wrong and tacky, but here, Big Spaceship NY (http://www.bigspaceship.com/) have excelled themselves. Got to share the love!
Read More
A free font you say? Why yes. Not just free, but free and pretty? Double danger. http://www.typedepot.com/banda /via @marinellads and @bittbox
Read More
Not so long ago, google announced swf to html conversion with swiffy: http://swiffy.googlelabs.com/. This is an excellent tool, but in production, it gets a bit touchy, particularly if you’re using a javascript framework like jquery. This is all down to the swiffy runtime monopolising the $ symbol. You might get an error like : TypeError: Cannot call [...]
Read More
I couldn’t find a complete solution for what i needed, so wrote one. Everyone shows you how to do it in excel, and excel uses its IRR() function which yes, is great, but still, not helpful in this scenario. Anyway Its rounding to one decimal place at the moment, i believe that’s what EU regulations [...]
Read More
Ok. I just want to say this out loud – because every time i read about google’s many failed social media experiments, people suggest that wave is one of them. I’m sorry anyone whos written this in their blogs, but you are wrong. Wave was never a social media platform. It is an online collaboration [...]
Read More
You’ll kick yourself if this never occurred to you before. Get Drop Box Drop files into your ‘Public’ folder. Once sync’d (file will have a green tick), you can right-click a file, and the Dropbox menu will tell you what the public URL to that file is. Paste link into where you need it. Enjoy [...]
Read More
Quite good this really. Make a function to return false() for the relevant days. Add it into your datepicker code. An example: $(‘#datepicker’).datepicker({ beforeShowDay: hideDays }) function hideDays(date){ if (date.getDate() == 24 && date.getMonth() == 6){ return false; } else { return [true, ”]; }} How it works Every time the datepicker code loops, it chucks [...]
Read More
Sometimes, you will have problems storing serialized data and unserializing it later. The solution is simple (tho may have some large system-wide impact for you…). Serialized data sucks (for a variety of reasons, none of which im entirely clear on). Adversely, JSON rocks. Upshot, instead of serialize($array), use json_encode($array). You’ll obviously want to use json_decode instead of [...]
Read More
From youtube.com/html5 (lets face it, the busiest video site on the web who have both new tech and user support in mind): Supported Browsers We support browsers that support both the video tag in HTML5 and either the h.264 video codec or the WebM format (with VP8 codec). These include: Firefox 4 (WebM, Beta available here) Google [...]
Read More