Recent Features
![Create Namespaced Classes with MooTools]()
Create Namespaced Classes with MooTools
MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does. Many developers create their classes as globals which is generally frowned up. I mostly disagree with that stance, but each to their own. In any event...
![Write Better JavaScript with Promises]()
Write Better JavaScript with Promises
You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...
Incredible Demos
![HTML5’s window.postMessage API]()
HTML5’s window.postMessage API
One of the little known HTML5 APIs is the window.postMessage API.
window.postMessageallows for sending data messages between two windows/frames across domains. Essentially window.postMessage acts as cross-domain AJAX without the server shims. Let's take a look at howwindow.postMessageworks and how you...![Create an Animated Sliding Button Using MooTools]()
Create an Animated Sliding Button Using MooTools
Buttons (or links) are usually the elements on our sites that we want to draw a lot of attention to. Unfortunately many times they end up looking the most boring. You don't have to let that happen though! I recently found a...




