Quantcast
Browsing all 33 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Build a Street Fighter Demo with CSS Animations and JavaScript

I recently learned a cool technique from Simurai about how to animate PNG sprites with the CSS3 animations’ steps() property. The main idea in this technique is to “recreate” some kind of animated GIF...

View Article


Image may be NSFW.
Clik here to view.

Create a Brilliant Sprited, CSS-Powered Firefox Animation

Mozilla recently formally announced Firefox OS and its partners at Mobile World Congress and I couldn’t be more excited.  Firefox OS is going to change the lives of people in developing countries,...

View Article


Image may be NSFW.
Clik here to view.

jQuery Wookmark

The first thing that hits you when you visit Pinterest is “Whoa, the columns are the same width and the photos are cut to fit just the way they should.”  Basic web users probably think nothing of it...

View Article

Image may be NSFW.
Clik here to view.

5 Best Practice Mentalities to Get Over

Read the full article at: 5 Best Practice Mentalities to Get Over Every developers strives to write clean, maintainable, and functional code, whether they hack on the server side or dabble on the...

View Article

Image may be NSFW.
Clik here to view.

Loading Scripts with jQuery

Read the full article at: Loading Scripts with jQuery JavaScript loaders are incredibly powerful and useful utilities.  I’ve even covered a few of them on this blog, like curljs and LABjs, and have...

View Article


Image may be NSFW.
Clik here to view.

DO NOT TRIGGER REAL EVENT NAMES WITH JQUERY!

Read the full article at: DO NOT TRIGGER REAL EVENT NAMES WITH JQUERY! Sometimes JavaScript toolkits give us so much functionality that we can get hung by it if we’re not careful.  The more...

View Article

Image may be NSFW.
Clik here to view.

jQuery: Multiple AJAX and JSON Requests, One Callback

Read the full article at: jQuery: Multiple AJAX and JSON Requests, One Callback I’ve been working on a new feature for the Mozilla Developer Network which requires loading of a basic script file as...

View Article

Image may be NSFW.
Clik here to view.

CSS vs. JS Animation: Which is Faster?

Read the full article at: CSS vs. JS Animation: Which is Faster? How is it possible that JavaScript-based animation has secretly always been as fast — or faster — than CSS transitions? And, how is it...

View Article


Image may be NSFW.
Clik here to view.

Unwrapping JSON-P

This is a quickie simple post on JavaScript techniques. We’re going to look at how to unwrap the “P” function-call padding from a JSON-P string to get the JSON from it. Note: Obviously, the recent push...

View Article


Image may be NSFW.
Clik here to view.

iOS Mobile Safari Hover Menu Fix

One component I’m quite proud of creating is the Mozilla Developer Network’s dropdown menu component.  It’s elegant, flexible, accessible via keyboard, and relatively compact (though it does require...

View Article

Image may be NSFW.
Clik here to view.

Elegant Selects with Quick[select]

Form elements have always allowed limited styling…which is why I hate working on form display.  And I started when form elements were virtually unstylable back in the Internet Explorer 4 days.  Of...

View Article

Image may be NSFW.
Clik here to view.

Inspect jQuery Element Events

Building on top of other tools can be incredibly difficult, especially when you didn’t create the other tool and you can’t replace that tool.  And when those other tools create loads of event...

View Article

Image may be NSFW.
Clik here to view.

Update jQuery UI Widget Options

We’re all used to passing options when instantiating an object, whether it be JavaScript or any other language.  Whether or not you can update those options later is usually up to the framework, and...

View Article

Browsing all 33 articles
Browse latest View live