Tutorials Page 140
![HTML5 Context Menus]()
HTML5 Context Menus
One of the hidden gems within the HTML5 spec is context menus. The HTML5 context menu spec allows developers to create custom context menus for given blocks within simple menu and menuitem elements. The menu information lives right within the page so...
![Use Elements as Background Images with -moz-element]()
Use Elements as Background Images with -moz-element
We all know that each browser vendor takes the liberty of implementing their own CSS and JavaScript features, and I'm thankful for that. Mozilla and WebKit have come out with some interesting proprietary CSS properties, and since we all know that cementing standards...
![Useful Git Commands]()
Useful Git Commands
I've used git quite a bit but I don't consider myself a git expert, per se. I often find myself looking up the same basic commands so I thought I'd share them there so I'd have a fast reference, and maybe this will help you...
![ms: Tiny Millisecond Module by Guillermo Rauch]()
ms: Tiny Millisecond Module by Guillermo Rauch
I wanted to pass along a simple but useful module that was posted as a Gist to GitHub by Guillermo Rauch. This simple module, available via NPM as ms, provides a simple function for turning a human-readable string into milliseconds. A very nice little gem by Guiller.
![Custom Getters and Setters with MooTools]()
Custom Getters and Setters with MooTools
Working with Dojo all day and scoping out MooTools at night gives me a unique perspective; I get to constantly evaluate the two frameworks and mentally move functionalities from framework to framework. One small but handy feature within the Dojo Toolkit's Dijit UI Framework...
![Upload Photos to Flickr with PHP]()
Upload Photos to Flickr with PHP
I have a bit of an obsession with uploading photos to different services thanks to Instagram. Instagram's iPhone app allows me to take photos and quickly filter them; once photo tinkering is complete, I can upload the photo to Instagram, Twitter, Facebook, and...
![Image Data URIs with PHP]()
Image Data URIs with PHP
If you troll page markup like me, you've no doubt seen the use of data URI's within image src attributes. Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves...
![Images, max-width, and Mobile]()
Images, max-width, and Mobile
Many web developers prefer to keep as much control over the applications, especially when it comes down to how the application displays on a mobile device. I'll often see developers prevent zooming in mobile browsers, allowing them to manage display size: A useful snippet for...
![Amazing 3D Animation with three.js]()
Amazing 3D Animation with three.js
The hottest topic for client-side developers seems to be animation. Whether it be from CSS transformations, keyframe animations, or animations managed with JavaScript APIs, it seems like each day we come across another demo that shows us how can we've come outside of Flash. The latest...
![MooTools Mobile: It’s Touching!]()
MooTools Mobile: It’s Touching!
When the community asked the MooTools team to add basic mobile event listening to MooTools' Event class, we listened; today MooTools supports all touch and gesture events. What if we want more detailed mobile event listeners though, like swipe with direction, pinch...










