JavaScript blogs
Comprehensive guides to mastering JavaScript and beyond.
NoFi, detecting no WiFi, callbacks for offline states with HTML5
An HTML5 API buried inside the navigator Object called onLine is where the inspiration for this little tool came from. NoFi detects no WiFi (yes, i...

Todd Motto
Oct 28, 2013
Hacking SVG, traversing with ease - addClass, removeClass, toggleClass functions
Update: I’ve turned this into a small JavaScript module named Lunar and pushed to GitHub, please use that code instead as it doesn’t extend native ...

Todd Motto
Oct 27, 2013
Join our email community
Developer tips and tricks, motivation, discounts and new course launches.
Conditionizr reloaded, what every developer has been waiting for
Wouldn’t it be ideal to target any browser, mobile browser, mobile device, touch device, screen resolution, operating system and conditionally load...

Todd Motto
Oct 24, 2013
The data-js API for behavioural-binding; stop using selectors in your JavaScript
Selectors in JavaScript are bad. The bridge between the DOM communicating with JavaScript is a tough one to cross and in no way modular, but there ...

Todd Motto
Sep 21, 2013
Echo.js, simple JavaScript image lazy loading
I’m currently working on a project for Intel’s HTML5 Hub in which I require some image lazy-loading for an HTML5 showcase piece that’s high in imag...

Todd Motto
Aug 11, 2013

Hacking the HTML5 video element with Suave.js
Suave, for elegant HTML5 videos (how they should have been). Suave was built to re-engineer the unstructured mess the HTML5 tag presents. Suave cl...

Todd Motto
Jul 28, 2013

Using Grunt and Chrome Workspaces for in-browser development
After some great interest in why I ditched Sublime Text 2 for the day to fully code inside Google Chrome, here’s the promised screencast on how to ...

Todd Motto
Jul 27, 2013

Psswrd, the show hide password JavaScript plugin
Show/hide toggling for password inputs. Psswrd is a neat little script I’ve put together to aid in better user experience when users are completing...

Todd Motto
Jul 20, 2013

Is it time to drop jQuery Essentials to learning JavaScript from a jQuery background
jQuery has been a godsend to pretty much all of us front-end developers since its release, its intuitive methods, easy functions make light work of...

Todd Motto
Jun 25, 2013

Re-engineering the jBar plugin with Immediately-Invoked-Data-Expressions
Earlier this week I wrote about IIDE, Immediately-Invoked-Data-Expressions. Not an official term as such but an insight into the explanation of wha...

Todd Motto
Jun 1, 2013

Revisiting SVG workflow for performance and progressive development with transparent data URIs
A few months ago I covered a range of SVG techniques that proved to be a great progression for developers looking to ‘get into’ SVG development. Fo...

Todd Motto
May 30, 2013