Tag Archives: javascript

Site speed

-note to self- DON’T use text-shadow with 200px blur. Javascript animations don’t like that. Got me a grade A again with YSlow :D  but found that js minify don’t go well with canvas. Guess I’ll wait for the update…

Developing for mobile

Devving for mobile devices generally revolves around the idea that they have a slow connection to the web and a small screen. The official idea these days is to develop bottom up, so cater for small screens first then load … Continue reading

!cookies but localStorage

Seems to be a buzzword lately so lets put on some rubber gloves and chime in shall we.   function support_test() { try { return ‘localStorage’ in window && window['localStorage'] !== null; } catch (e) { return false; } } … Continue reading

html5 canvas tag example

a cool example of the canvas tag Continue reading

User Agent Detection

feature detection …. it’s just to much work. why? ’cause it’s essentially a bunch of hacks since all browser vendors are abusing the UA string. So it’s mostly conditional for me, and then usually only for IE ’cause.. Anyway checkout … Continue reading