HTML5 Notes: My First Time Using the Canvas Element

Quick verdict? It’s fun. The long verdict (albeit one not base on the work I did here?) The accessibility concerns are valid and will need to be addressed before we end up with a replay of Flash circa 2000. And no one wants that. Anyway, the example I did do for the demo is actually […]

As If URL Shorteners Alone Weren’t Bad Enough, Now They’ve Mated With URL Hijacking Frames

The Digg Bar is the most obvious (and noxious) example, but the new trend of URL shorteners coupled with a URL hijacking frame is spreading alarmingly. More and more I’m seeing this odious technique. These things break bookmarks, wreck navigation cues from the URL and are generally sleazy and rude. And there’s how to beat […]

HTML 5 Notes: In Case a Client Asks… No Full Screen Video

I’m going to be posting a series of notes on the production of my first HTML 5 demo page. I’m doing a presentation on it at work (to be shared here, of course) and I want to capture my thoughts as I have them in the process of producing some fully formed HTML5 content. One […]

JavaScript Perfromance Tip- Don’t Test Against obj.length. Test Against a Local Variable.

I saw it yesterday in some code I was debugging and I realized I’ve become hyper sensitive to this common pattern: var anchors = document.getElementsByTagName(‘a’); if (anchors.length > 0){ for (var i=0; i < anchors.length; i++) { addEvent( anchors[i], 'click', trackLinks ); }; }; Why am I sensitive to it? Well, what are some of […]